Web Analytics Made Easy -
StatCounter need a script to submit every X seconds - CodingForum

Announcement

Collapse
No announcement yet.

need a script to submit every X seconds

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • need a script to submit every X seconds

    I need a simple script that will submit for 'I' every 'X' seconds. Can anyone help with the countdown part.
    If I'm postin here, I NEED YOUR HELP!!

  • #2
    i=10;
    function timedLoop()
    {
    document.forms[0].submit();
    i--;
    if (i>0) setTimeout('timedLoop()', 10000); // 10 second delay
    }
    100% standards compliant code is 100% correct 100% of the time.

    Cd&

    Comment

    Working...
    X