Function with Js checkbox

quorhooky

New Member
I want to write a function that allows me to display the contents of the cells when I check a checkbox using a loop \[code\]for (var i=;i<..;i++)\[/code\]\[code\]<html> <head></head> <body> <table id="table" border=2> <tbody> <tr> <td id="cellule nom">Name</td> <td id="cellule pre">pseudo</td> <td id="cell ch">Action</td> </tr> <tr> <td id="a">Bernard</td> <td id="b">Jhon</td> <td id="cellchek"> <input type=checkbox class="chk" name="ch"> </td> </tr> <tr> <td id="al">Ali</td> <td id="**strong text**">Robert</td> <td id="cellchek"> <input type=checkbox class="chk" name="ch"> </td> </tr> </tbody> </table> <input type=button value=http://stackoverflow.com/questions/15732044/Tester onclick="javascript:test();"> </body></html>\[/code\]
 
Back
Top