Jump to content

freshboy

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by freshboy

  1. <html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body><script language="javascript" type="text/javascript">a=new Date()b=new Date()c=1function aa(){document.write(c++)document.write("<BR>")}while(c<100){setInterval(aa(),1000)}</script></body></html>I want to print a column that includes a sequence of numbers and the number on each row will be printed after 1 second.After that, the number will be increased to 1 unit and It happens util c==100However, It didn't work.Could you please help me why it doesn't work !.

×
×
  • Create New...