Form with Checkboxs

Form with Checkboxs

naggathnaggath Posts: 2Questions: 0Answers: 0
edited December 2010 in General
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 !

Replies

  • naggathnaggath Posts: 2Questions: 0Answers: 0
    No one can help me ?
  • 28.vivek.s28.vivek.s Posts: 69Questions: 0Answers: 0
    edited December 2010
    here is your solution
    [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
This discussion has been closed.