The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Web Development Question by damien_thorne2003-10-22 09:00:42
  form auto-submitter by madrak 2003-10-22 09:27:44
This is code I have used to have a form automatically submit itself after a certain amount of time:

<SCRIPT LANGUAGE="JavaScript"><!--
setTimeout('document.foo.submit()',60000);
--></script>

The code is not original with me, but I don't remember where I snagged it from. Just remember to add the name='foo' tag to the <form> tag. i.e. <form action='foo.asp' method='post' name='foo'>
[ Reply ]
    Try changing your <form> tag by sjay2003-10-22 10:16:37
      use method='post' instead by madrak2003-10-22 10:19:25
        using the javascript timeout by madrak2003-10-22 10:31:47
          not such a great solution by e_bosscher2003-10-23 09:37:04

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)