robert_gsfame Posted November 25, 2009 Share Posted November 25, 2009 i have this <table> <tr> <td><input type = checkbox id=1></td> <td><input type = checkbox id=2></td></tr> <tr> <td><input type = checkbox id=3></td></tr> </table> <table> <tr><td><?php echo "<a href=# onclick='for(i=0;i<3;i++){ document.getElementById(+i).checked=true;}'>Check all</a>";?></td></tr> </table> not working, which part is wrong?? can anyone help Link to comment https://forums.phpfreaks.com/topic/182878-for-check-all-function/ Share on other sites More sharing options...
trq Posted November 25, 2009 Share Posted November 25, 2009 This is the PHP Help board. Link to comment https://forums.phpfreaks.com/topic/182878-for-check-all-function/#findComment-965277 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.