Questions tagged as 'jquery'

2
answers

get label property of a json with getJSON and each

I'm wanting to get the label item of this json and I can not get the list out empty or undefined, I think it's a mulitidimentional array and it's missing one more level, I can not build the correct code it's what I need help with this thanks....
asked by 15.03.2017 / 00:24
2
answers

download a file with javascript

In a view HTML I have a href which has a data_id with an 'X' value and a class, when I click on the link I do ajax validating if that data (data_id) really exists, what I try to do is that in the done if I downloaded the file but ps do no...
asked by 31.01.2017 / 15:18
1
answer

Read json from jquery

When wanting to access the value of the title of the next json With the statement json.message.tittle I'm getting an undefined. How could I take the tittle value?     
asked by 23.02.2017 / 20:17
1
answer

Detect text change on a jquery td

I need to detect the changes made in the td of my table sending an alert, greetings thanks. setTimeout(function(){ $('td[name$=total]').text("12345"); }, 3000);//hago el cambio en todos los td al pasar cierto tiempo //busco todos lo...
asked by 27.11.2017 / 14:46
1
answer

Access the DOM to an AJAX response

Good I need to be able to access from the DOM to a button painted with PHP, which is called from an AJAX. Since I read that the DOM would do it to the AJAX and then it gives you undefined , I can not do it the normal way. The specific butt...
asked by 26.11.2017 / 21:08
1
answer

Jump from one input to another without using tabindex

I have the following code that makes me jump from one input to another through a tabindexgt attribute, but only jumps among those that have that attribute if there is another input with another attribute that jumps. How can I do to jump from one...
asked by 27.11.2017 / 17:41
1
answer

Run double click, just with a click

How can I do that by clicking on the + button, I automatically re-run the same functionality but as if I had clicked on the other + button. I need it that way since one brings different data to the other, but I want it to be automated,...
asked by 26.01.2017 / 17:11
1
answer

send checkbox values as fix by ajax [duplicated]

hello I have the following problem .. I need to send the values of a group of checkbox in an array, through ajax and process them in php with codeigniter. I am starting with ajax so I do not know much about the matter, its contribution would b...
asked by 25.01.2017 / 22:44
1
answer

Hide colspan dynamically

I have the following code, which hides columns dynamically. The problem is that I am trying to add a colspan for the first column, which contains 2 columns. If I hide the first one, only the first one that is inside it and not the second one is...
asked by 12.01.2017 / 00:31
2
answers

Pass variables from PHP to jQuery and vice versa

What is the best way? I've seen this question where variables are passed in this way: <?php $row= "pantalla"; ?> <script type="text/javascript"> var row = '<?php echo $row;?>' </script> Also applicable to ar...
asked by 18.01.2017 / 10:53