Questions tagged as 'jquery'

1
answer

add row to table with jquery and clean fields

Thank you in advance for your collaboration, my question is this: I have a table with a row, I want to add another row when I click on a button and clean the components of the new row is alfo like this: <button id="lineItemButton">...
asked by 30.09.2018 / 02:23
0
answers

Leave fields blank with Jquery

I have a fullcalendar; if I click on a day a registration form is opened, and I have a Jquey with some validations, I click on the add button and the fields that have NOT entered data in red are left in red (that's fine). Fullcalendar image:...
asked by 27.09.2018 / 23:21
1
answer

ERROR when sending variable to php and capturing php array in jquery

I'm doing a car complete with jquery, php, sqlserver. I send a data to the file search-client.php with ajax but I can not get any results back and I can not see any kind of error in the browser. JQuery code $(document).ready(function(e)...
asked by 25.10.2018 / 14:34
2
answers

Insert rows in HTML table, increasing their id

Dear: How can I do to insert rows in an html table, where the inserted elements are inputs of type text, and I need that each one has a different id. Using one of the solutions proposed by the user Juan Pinzón (from already grateful). I came to...
asked by 25.10.2018 / 14:13
1
answer

cycle for javascript, jquery

what would the syntax of a nested for cycle look like to traverse a 7x7 matrix and randomly attach a series of images? for the random part create a variabe of Math.random, which is not where in the syntax to use. I also know that I have to...
asked by 23.09.2018 / 11:32
1
answer

Avoid the execution of an event listener

I have a Form that validates a submit in wordpress. The following code is in a Wordpress Template and I want the event Listener Submit not to run, how can I prevent it from running? To explain myself better, when you click on the button type sub...
asked by 15.09.2018 / 01:09
0
answers

DataTable filters by date

I'm trying to use filters by date. I have found several examples, but in one of them I am blocked because it puts the date and takes an example if I select 5 de mayo de 2018 begins to show me the data from 6. The other thing is that...
asked by 18.09.2018 / 17:02
0
answers

Write realtime table event snap with FuntionsCloud in Firebase

I have an instance called AP which I want to create a function that when a new data is added that data is added another instance in the same database called SA I tried unsuccessfully in the following way with the event onCreate...
asked by 08.09.2018 / 17:41
1
answer

Get the last deselected value of a select multiple with JQuery [duplicate]

I have the following multi select: <select multiple="multiple" id="select_empresas" name="my-select[]"> <option value='elem_1'>elem 1</option> <option value='elem_2'>elem 2</option> <option...
asked by 06.09.2018 / 14:45
1
answer

Auth :: id () using ajax returns null Laravel 5.5

It happens that I am showing a content in a datatable and making the relevant settings so that only the content of the logged in user is shown to me, so I use a method in my controller that returns the records associated to the user that is logg...
asked by 06.09.2018 / 15:27