Questions tagged as 'jquery'

2
answers

get value of several buttons with JQUERY

hello guys I have a total of 10 buttons which have a value that I want to extract their value with a click depending on which is the clicked vote I'm doing with jquery but I do not know what I'm doing wrong here my code: $("#evaluate...
asked by 01.07.2018 / 21:29
1
answer

How to select a radio button, according to the server response, jquery?

Good morning. Currently I fill a table dynamically and each record with its radio button var donaciones = $('.donaciones'); $.each(donativos, function(index,value){ $('<tr>'...
asked by 29.10.2018 / 16:12
1
answer

Descending order in Datatable

I am showing data in a datatable but I need to show the records in descending order. I thought that ordering them from the query would work and it was not like that, can someone help me? The function in which I believe the datatable looks like t...
asked by 26.06.2018 / 18:14
2
answers

Get the id of an HTML table, using a loop

I have a div, in which I will create an indeterminate number of tables which will have a non-numeric id, once these tables have been created I would like to go through them one by one and get their id as I will use it for later processes. Is...
asked by 23.06.2018 / 21:52
2
answers

Create table in JQuery HTML

I have a question, I have a function in JavaScript to generate tables, in the following way: function AgregarTabla(idContenedor, idTabla) { var htmlTabla; htmlTabla= "<table id = '" + idTabla +...
asked by 26.06.2018 / 04:08
3
answers

Correct syntax of document.getElementById [duplicate]

Reviewing my code, I realized that I have different syntax from document.getelementbyid: document.getElementById("prcavance").value = value ; document.getElementById('up_file').disabled = true; I have it with double quotes and anot...
asked by 24.05.2018 / 21:59
1
answer

Restart or uncheck all the selected options in datatable plugin "checkboxes"

I am using an extension for the jQuery DataTables library that serves to select multiple rows of the datatable and make operations with them. The extension is    jQuery DataTables Checkboxes link But I have a problem. I need that aft...
asked by 18.05.2018 / 07:11
3
answers

Problem replacing point with comma keyPress

I comment, the matter is as follows; I'm working with HTML - jQuery and I'm using a script that replaces the dot by comma when I press it Script $('input.number').each(function () { $(this).keypress(function(e){ if(e...
asked by 26.04.2018 / 17:01
4
answers

How to add an event to an element created with JavaScript

Create a button dynamically with javascript and now I want that when you click on it, a certain function will be executed that with jQuery would be as follows: $(".elemento").on("load", function() { // Codigo });...
asked by 16.05.2018 / 00:35
1
answer

add elements drag and drop to input with jquery

I have this example of drag and drop but only one element can be added to the input, then if I want to add another one, I will not add it anymore How can I make it allow me to add more elements to the input? $(document).ready(function(){...
asked by 28.05.2018 / 17:20