[thelist] Quick javascript question

Saidi; Marwan msaidi at ced-concord.com
Thu Apr 12 16:25:39 CDT 2001


Oops, I thought that I may be missing something...
Try onSubmit="return FormRedirect();". This will work if you FormRedirect
returns something, and you need the semi-colon (I think). Perhaps I should
leave this one to a real guru. At least it is a start.

Marwam

-----Original Message-----
From: Saidi; Marwan [mailto:msaidi at ced-concord.com]
Sent: Thursday, April 12, 2001 5:23 PM
To: 'thelist at lists.evolt.org'
Subject: RE: [thelist] Quick javascript question


Pretty sure that you need to have onSubmit=FormRedirect(). If you need any
arguments for FormRedirect, put them between the parenthesis. I think that
should do it.

Marwan Saidi
Webmaster
CED - Concord IS
msaidi at ced-concord.com
407.741.8645

Janet Green sat down, thought things over, and said....

~~~~~~~~~~
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. 
~~~~~~~~~~



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************




More information about the thelist mailing list