How to get and serialize the values of a hiddend colum
How to get and serialize the values of a hiddend colum
Hi all,
in my table I've a hidden column and every cell contains an ID value (taken from the database table).
I need to get all these ID, serialize them into an array [1, 5, 10 ... and so on] because I've to do an $.ajax post only clicking on a button (click event).
How can I get all the ID of the visible row clicking on a simple button?
[code]
$('#get_all_id').click(function(e){
e.preventDefault();
// There are functions that do what I need?
});
[/code]
in my table I've a hidden column and every cell contains an ID value (taken from the database table).
I need to get all these ID, serialize them into an array [1, 5, 10 ... and so on] because I've to do an $.ajax post only clicking on a button (click event).
How can I get all the ID of the visible row clicking on a simple button?
[code]
$('#get_all_id').click(function(e){
e.preventDefault();
// There are functions that do what I need?
});
[/code]
This discussion has been closed.