Questions tagged as 'jquery'

2
answers

Delete and add Class to List with Jquery

Greetings. I have made a small list, which I want to add a type effect: focus of selection with a background, I give it through a class is-active . the purpose is that when you press another element, delete the class from the one that h...
asked by 25.05.2018 / 19:46
2
answers

jquery datetimepicker events

I'm using datetimepicker of jquery, I would like to be able to execute a function when changing the date, if I do it when changing the div, when it loses the focus, I also shoot the function. I need you to execute the function only when the date...
asked by 06.09.2018 / 12:02
2
answers

how to replace an ajax call with another

I have a slight doubt about how to substitute an element for another within a for , in this case I make a call to a '$ .post' that collects a json and shows it in a kind of letter to say it of some way, the information collects it well, an...
asked by 03.09.2018 / 10:05
1
answer

Checkbox and datepicker

I'm looking for the way that when the checkbox flages change the format of the datepicker. This is my Jquery code $(document).on('click','#chk_out',function () { if ($('#chk_out').is(':checked')) { $( ".datepicker" ).datepicker...
asked by 22.12.2016 / 00:43
2
answers

Identify Click of Inputs dynamically created by means of a query

I am trying to generate a code for certain dynamic queries, the specific case is the following, I have my users.php page, which will have registered users in a system, for this a search of users is done in a way dynamic and I put them in a div a...
asked by 27.03.2018 / 18:41
3
answers

How to make my function only affect the element that is being clicked

I have this function, but when it is executed it is applied to all the elements and since I am using its css style reference to grasp the elements, all are painted and not only the one that is clicked $('.vermas').click(function(){ $('.e...
asked by 28.03.2018 / 02:29
2
answers

How do I navigate this object with javascript or with jquery?

[[{"idParticipante":10,"nombre":"Arnold","sumaCorrectas":4}, {"idParticipante":15,"nombre":"Wozniak","sumaCorrectas":3}, {"idParticipante":16,"nombre":"Connor Mcgregor","sumaCorrectas":2}, {"idParticipante":12,"nombre":"Steve Jobs","sumaCorrectas...
asked by 25.10.2017 / 07:57
2
answers

Validation of date by JQuery

Hello good morning I have the next function that validates dates without the "/" example 010218 that would be 01/02/2018 , also if only 4 characters come I add it through php the year. Obviously the date armo by .substr . The...
asked by 13.04.2018 / 12:32
4
answers

validate if all chekboxes are not selected

I have checkboxes and I want the user to select at least one before sending it to the controller. I found several ways to validate if it is selected but I do not know how to do the if, I am sleepy: ( How can I validate if all chekboxes are not...
asked by 06.02.2018 / 20:11
2
answers

Get value of an attribute in jquery when marking it

I have an input such that <input type="checkbox" id="numero-id="' + numeroID + '" /> How do I get the value of numeroID ? I have many input <input type="checkbox" id="numero-id=6" /> <input type="checkbox" id="nume...
asked by 27.04.2018 / 13:06