[thelist] Quick javascript question

Anthony Baratta Anthony at Baratta.com
Thu Apr 12 16:33:45 CDT 2001


At 02:15 PM 4/12/2001, you wrote:
>I have this bit of js in my <head> tags...
>
><SCRIPT language="JavaScript">
><!--
>function FormRedirect(){
>setTimeout ('this.document.location.href = "work_tables.html"',5000);}
>//-->
></SCRIPT>
>
>
>but I inadvertantly *erased* the string that goes in the <input
>type="submit" onSubmit="SOMETHING I ERASED"> portion down in the form. Since
>I am a copy-and-paster, instead of an actual script writer, can someone fill
>in the "redirect" statement for me that went here? I've been on and off this
>project all day, trying to make two events happen onSubmit, and now have
>erased the one that will get me OFF this page once and for all - LOL.

How about

         onSubmit="FormRedirect();"

HTH - or at least does not hurt.

---
Anthony Baratta
President
Keyboard Jockeys





More information about the thelist mailing list