Can't get this .html to work

Page 1 of 1

1 Replies - 199 Views - Last Post: 01 March 2012 - 10:50 AM

#1 anamoblu  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 05-December 11

Can't get this .html to work

Posted 01 March 2012 - 10:18 AM

//My browser executes but does not display anything. I am running IE 9, Windows 7 and I have turned off content blockers. Any help is appreciated.

<html>
<head><title>Square</title>
   <script type = "text/javascript">

	for (i=1; i<=10; i++)  {	
     	 document.writeln (square (i));

      }

   </script>
</head><body></body>
</html>


Is This A Good Question/Topic? 0
  • +

Replies To: Can't get this .html to work

#2 Shane Hudson  Icon User is offline

  • D.I.C Technophile
  • member icon

Reputation: 341
  • View blog
  • Posts: 1,281
  • Joined: 06-December 09

Re: Can't get this .html to work

Posted 01 March 2012 - 10:50 AM

*Thread closed due to duplicate*
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1