Jump to content

javascript


alin19

Recommended Posts

i hope that it's ok that i post this here

i need help with a timeout comand

 

i want to write these until number reach 3 and then wait a little and continue

 

<html>

<body>

<script language="javascript"  type="text/javascript">

<!--

 

for (i=1;i<10;i++)

{

document.write ( (i+1) + 'number')

document.write ('<br>')

if (i==3)

{

setTimeout(1)

}

 

}

 

-->

</script>

</body>

</html>

Link to comment
https://forums.phpfreaks.com/topic/88983-javascript/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.