[thelist] javascript - how to quit script if condition is true && refesh page
Brian Delaney
brian.delaney at mccmh.net
Mon Feb 7 11:54:06 CST 2005
I have a nested javascript that validates a form. What is the code to
sue that quits the script if a condition returns true?
I use return; but it just continues the next line of code.
Second - if the user selects and invalid choice I will alert them and
would like to refresh the page. What is the line to refesh the page
(reseting the form)?
Thanks
*
*
*
This message, including any attachments, is intended solely for the use of the named recipient(s) and may contain confidential and/or priveleged information. Any unauthorized review, use, disclosure or distribution of this communication(s) is expressly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy any and all copies of the original message.
More information about the thelist
mailing list