Questions tagged as 'jquery'

2
answers

Can variables be used in jQuery?

I would like to know if it is possible to use variables in jQuery and, if so, in what way. I explain what I'm trying to do. I have the following HTML code right now: <html> <head> <title>Prueba</title> <sc...
asked by 06.08.2018 / 21:05
3
answers

That an alert tells me that Fila eliminate

Good morning. I have this Jquery code: $(document).ready(function() { $('#bt_add').click(function() { var check = []; $("#tabla").find('.selected').find('td').each(function(){ if($.trim($(this...
asked by 21.07.2017 / 16:56
2
answers

Autocomplete text of an input based on data stored in Local Storage

Hi, I would like to know if there is any way that by entering characters in a input of type text a bar with previously entered suggestions is displayed, using JQuery , javascript , etc. I clarify that I do not want to o...
asked by 01.03.2017 / 19:48
1
answer

How to generate color gradients in Sound Bars with Reflection js / css

How to generate gradient as the image that I attached in a sound wave var elem = $('div'); var count = elem.length; var loop = function(){ setTimeout(function(){ elem.each(function(){ var $this = $(this);...
asked by 20.12.2017 / 14:03
1
answer

How to pair JSOn

Hi, could you help me parse this JSON since I do not succeed? { "pages": [ { "name": "página1", "elements": [ { "type": "text", "name": "pregunta1" } ] } ] } var obj = JSON.par...
asked by 22.03.2018 / 18:59
2
answers

How can I get a value of a row by pressing a button in that row?

I have this function in javascript where I am directed to a PHP file which returns a file json and I show it in a table in the following way. JavaScript Code: $.each(students, function(calificaciones, std) { $('#tableStudents').app...
asked by 07.04.2018 / 22:46
2
answers

Event OnChange jQuery HTML

I do not achieve that when selecting an option that is not the first, the parameter is sent correctly to the function Export() . The alert I throw it correctly with the option that I select. But when sending the parameter, always se...
asked by 28.07.2017 / 03:37
1
answer

How to move the decimal point to the left n spaces with Jquery or JS?

I have the following code: $('#txtFederalCantidad').mask('00000000', { reverse: true }); valorFederal = $('#txtFederalCantidad').val(); $('#txtMonto').mask('00000000', { reverse: true });...
asked by 19.07.2017 / 17:16
1
answer

Is it possible to create an HTML table using the structure of a JSON?

I'm trying to create a table using a JSON file. What I'm looking for is to create the table based on the structure of the JSON, for example, I have the following JSON: { "Persona":{ "nombre":"Juan", "edad":28, "Residenc...
asked by 21.05.2018 / 03:50
1
answer

Walk through the bootstrap table with jQuery text and value HTML5

I have a problem with jQuery . I'm going through a table of bootstrap with certain values, I need the values to be saved in an array, at this moment I'm going through the values separately, I do not know how I can go through all the values a...
asked by 03.05.2018 / 20:45