ralf: Automatischer Submit

Hallo,

wie kann ich ein Formular nach 3 Sek. automatisch submiten?

Gruss

Ralf

  1. Hi Ralf!

    Ganz einfach: Ich habe da ein Beispiel in der SELFHTM-Referenz gefunden:

    <html><head><title>Test</title>
    </head><body>
    <form name="Testform" action="/cgi-bin/auswert.pl" method="get">
    <input type="text" size="40" name="Feld1"><br>
    <input type="text" size="40" name="Feld2"><br>
    </form>
    <script type="text/javascript">
    <!--
     function AbGehts()
     {
      document.Testform.submit();
     }
     window.setTimeout("AbGehts()",60000);
    //-->
    </script>
    </body></html>

    Ich hoffe es hilft dir weiter!

    Ciao David!

    1. Hi,

      Ich hoffe es hilft dir weiter!

      Super, danke

      Ralf