1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change in Javascript

Discussion in 'Hire a Freelancer' started by tiger56, Nov 3, 2012.

  1. tiger56

    tiger56 Registered Member

    Joined:
    Jun 28, 2011
    Messages:
    97
    Likes Received:
    8
    Is there any one that can help me to create a javascript::

    Hello. I have a form with submit button. I am wanted it to auto submit only once when page is loaded.

    Code:
    <script language="javascript">
    setTimeout('SubForm()', 30000);   // delay 3 mint  function 
    SubForm() { document.forms[0].submit();  
    }  
    </script>
    
    But its not working in my case because it loop every 3 mint delay.

    I need it auto submit it only once if it is not submitted with in 3 mint and than end. not loop more every 3 minit.

    Only once time submit after page load.

    (No loop, page dead after 3 mint and once submit; page dead)

    Is there someone here who knows javascript i pay 20 dollars
     
    Last edited: Nov 3, 2012