Questions tagged as 'jquery'

1
answer

Enable and disable item with jQuery

   From the original OS question Disable / enable an input with   jQuery? I want to enable and disable elements of an HTML page (be it inputs, divs, buttons, etc.). How can I solve it using jQuery?     
asked by 01.08.2017 / 09:24
2
answers

How to check the father, when I select the child in a checkbox with jQuery

How could I do a checked event in jQuery? I have this structure: With the serious code: <ul> <li class="padre_menu"> <div class="checkbox"> <label> <input name="padre[...
asked by 07.09.2016 / 17:02
4
answers

Wait for a for each with ajax requests to finish to continue

I'm doing forEach in a array but this loop has an ajax request inside for each repetition and I need to wait until all the ajax are ready to continue ordering the array that is filled with these requests, this It's my code. var g...
asked by 13.09.2018 / 18:50
3
answers

How not to repeat variables with the same name for different functions

I have this javascript code: $().ready(function() { $("#aceptarEditar").click(function(){ var item = $('#idTemp').val(); $("#botones"+item).toggle(); $("#botonesEditar"+item).toggle();...
asked by 02.04.2018 / 20:24
1
answer

Change of id in form

I have a form where I fill in a series of fields of a JPA entity, the case is that between the fields there is a list which I am filling in with a modal, until then everything is correct, in fact I have this method done for several controllers a...
asked by 02.12.2015 / 13:03
3
answers

Click sharp jquery?

Good, I'm blocked to perform an action with jQuery. I have this: <div> <p> Password: <span id="passwordServer">*********</span> <b><i id="togglePasswordServer" class="unhide icon"></i><...
asked by 07.06.2017 / 19:51
4
answers

Obtain client IP from javascript or jquery

How can I get the% co_of real% of the client for% co_of% if possible. This means that there is a direct connection, or by means of a IP , or Javascript or whatever, I always identify the proxy real of the client computer....
asked by 03.05.2017 / 22:44
2
answers

Send POST to PHP through AJAX

I need that when I click on a button through POST I send a data to a PHP file where I make a query with that parameter that I receive to generate a graph. I have done it by means of a form, but an inconvenience arises when clicking on that butto...
asked by 21.09.2016 / 20:55
2
answers

How to get value from an input using jquery?

The following line: <a id="asociar-1500" style='color: #004881' href="#" title='Asociar al Proveedor' class="btn btn-danger"><input type="hidden" value = "true"></> It generates the following HTML: <a id="aosciar" cla...
asked by 06.05.2016 / 17:44
7
answers

Call functions with JavaScript parameters with Ajax $ ('Element') on ('click', func (param))

I need to pass a parameter to a JS function but:    when executing this code, call the function before clicking and also do not pass the parameter /*Este es el codigo AJAX al que quiero agregarle el parametro*/ $('#atribute').on('...
asked by 17.05.2018 / 15:05