javascript settimeout() method problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tester000
    New Member
    • Jan 2010
    • 1

    javascript settimeout() method problem

    file.php conatians this code :

    Code:
    <script>
    	setTimeout('done()',15000);
    	function done(){window.location='file.php';}
    </script>
    i need to run this file.php concurrently on 3-4 times
    if i do so then delay of 15 seconds is getting disturbed.
    and after delay the file is displaying the incremented number which is getting displayed on each window where file is executing. BUT that number should be displayed only after 15 seconds which is not happening...

    how to stop methods by conflicting???
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    Originally posted by tester000
    need to run this file.php concurrently on 3-4 times
    what does that look like? 4 different windows? One Browser? what do you mean with that concurrency? where is what disturbed? do you mean that all 4 windows should be in sync?

    Comment

    Working...