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 Quote Link to comment Share on other sites More sharing options...
trq Posted November 25, 2009 Share Posted November 25, 2009 This is the PHP Help board. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.