How can I get value of checkbox in table? I want use it for in this case in order get parameter. Now, please see html table:
Solution 1:
What you have done is right, but you are not outputting it to the table!
var table = $("#div_func");
var value_check = "";
for (var i = 1; i < table.rows.length; i++) {
if ($('#chk')[i].is(':checked')) {
value_check += i + ": " + $('#chk')[i].val();
}
}
alert(value_check);
Post a Comment for "How To Get Value Of Checkbox In Table?"