Posted By

Stron9 on 06/20/10


Tagged


Versions (?)

Checkbox Game BODY


 / Published in: HTML
 

  1. <script language="JavaScript">
  2. document.write("<form><center>")
  3. document.write('<input type="text" value="0" ');
  4. document.write('name="num" size=10 onFocus="this.blur()"><br />')
  5. document.write("<hr size=1 width=40%>")
  6. for (var i = 0; i < 10; ++i) {
  7. for (var j = 0; j < 10; ++j) {
  8. document.write('<input type="checkbox" ');
  9. document.write('onClick="display(this)">')}
  10. document.write("<br />")}
  11. document.write("<hr size=1 width=40%>")
  12. document.write('<input type="button" value="restart" ');
  13. document.write('onClick="restart(this.form)">')
  14. document.write("</center></form>")

Report this snippet  

You need to login to post a comment.