Form with Checkboxs
Form with Checkboxs
Hello,
First, i'm sorry if my english is not very good.
I have a problem with Datatables, i saw the example form with checkbox, it's perfect for me, but, i don't know how can i get the html (text) of all of the concerned TR (checkbox).
When i'm submitting the form, i would like the text in an array, so i can exploit it with ajax.
I'm also looking for an expert of Datatables to make a thing for me (i pay), my msn : dude@fbi.gs
Thanks a lot for your help !
First, i'm sorry if my english is not very good.
I have a problem with Datatables, i saw the example form with checkbox, it's perfect for me, but, i don't know how can i get the html (text) of all of the concerned TR (checkbox).
When i'm submitting the form, i would like the text in an array, so i can exploit it with ajax.
I'm also looking for an expert of Datatables to make a thing for me (i pay), my msn : dude@fbi.gs
Thanks a lot for your help !
This discussion has been closed.
Replies
[code]
$(document).ready(function() {
$('#form').submit( function() {
jQuery("#example :checked").each(function() {
alert("Row html is:::"+$(this).parent().parent().html());
});
} );
[/code]
you can see demo here...http://jsfiddle.net/cPtsS/
Let me know it's worked for you or not?
Thanks,
Vivek