Questions tagged as 'jquery'

2
answers

Copy value to an input that is inside a footer of a datatable

I am using the jQuery DataTables and I am encountering the following problem: when I click on a button I need to pass a value with jQuery to the input that has the id "tipo_venta2" of the datatable's footer, but it does not work for me, I would...
asked by 09.09.2016 / 02:39
1
answer

Problem in function

Good afternoon GRAN community. I have a problem in a function that goes to 90%. The problem is in the BeforeSend of the code, when I delete an item from the cart, a spinner is activated, but it is activated in all the elements, and I want it to...
asked by 26.09.2018 / 20:21
2
answers

preventDefault () - Before sending by PHP A BBDD (jQuery)

I try to send the information of a form, to a database, so before sending it, I want to check that all the fields that I have marked with "required" are filled in. For this I am trying the following: $("#comprobarDatos").on("click", functio...
asked by 27.08.2018 / 16:58
1
answer

How to traverse an array of html with JQuery or javascript?

I have the following code: <td> <input type="text" name="listPeso[]" class="input_next autoNumeric" data-v-min="0.000" data-v-max="999999999999999999999.999" data-a-sep="" data-a-dec="." onkeyup="runScript(event,this)"> </t...
asked by 23.08.2018 / 17:07
1
answer

Variable of a JSON undefined

good to all, again, JSON em is something Troll because it is easy to deal with the data in this way but I do not understand in this case the reason why it does not work, I have this JavaScript code (not yet complete) function ver_bookmark(id_s...
asked by 31.08.2018 / 11:05
1
answer

I need to send token bearer from ajax JQUERY

I have a problem ... I have an ajax jquery request to a webapi waiting for a token. I add the Authorization Bearer + Token header but it does not reach the web api ... I expose the code: $.ajax({ url : 'http://localhost:59596/P...
asked by 06.09.2018 / 05:23
1
answer

How to check checkbox of a table already generated dynamically from a JSON, jquery?

In this way I generate the list dynamically: var cupones_bienvenida = $('.cupones_bienvenida'); var tipoCupon =''; $.each(response.data, function (i) { if (response.d...
asked by 26.09.2018 / 21:30
2
answers

Button with jquery does nothing

I'm trying to do something and I've started with the simplest part, to show a message when I click on a button with jquery, I searched the internet and tried it in several ways, but the button simply does not do anything. <!doctype html>...
asked by 03.10.2018 / 21:04
1
answer

How to make my button do not lose functionality after adding it with append in jquery

With this I add a row to my table this row contains data and buttons. But the buttons stop working I have to reload the page to work. How do I make it work without reloading the page and after adding it with append? $("tbody#agregarusuario"...
asked by 18.08.2018 / 16:05
2
answers

Hide button with JQuery function

How do I pass this to jQuery id="btn_submit" onclick="javascript:document.getElementById('btn_submit').style.visibility = 'hidden'; Is to temporarily hide or block a button to avoid double submission of a form, is there any other way to a...
asked by 17.07.2018 / 22:26