Announcement

Collapse
No announcement yet.

submit periodically?

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

  • submit periodically?

    Is it possible to do a "submit" periodically in a form? I want it in order to update values from a hidden frame.

    Thanks,

    Daniel.
    Last edited by Rupp; March 14th, 2005, 10:24 AM.

  • #2
    Using javascript you could do this. Create a function that will submit your form. Then call this function with

    Assuming your form name is form1
    Code:
    '  The 10000 is 10 seconds ...
    <script language="javascript>
    
    function SubmitForm1()  
    {
      form1.submit();
    }
    
    
    setTimeout('SubmitForm1()  ',10000)
    
    </script>
    -Rupp
    sigpic

    Comment


    • #3
      Using javascript you could do this. Create a function that will submit your form. Then call this function with

      Assuming your form name is form1
      PHP Code:
      '  The 10000 is 10 seconds ...
      <script language="javascript>

      function SubmitForm1()  
      {
        form1.submit();
      }


      setTimeout('
      SubmitForm1()  ',10000)

      </script> 
      -Rupp
      sigpic

      Comment


      • #4
        ...SetTimeOut... what an useful function!!

        Thanks, Rupp!

        Daniel.

        Comment

        Working...
        X