Re: JS Problem

by "Bert" <bert(at)betterwebdesign.com.au>

 Date:  Tue, 25 Jun 2002 23:12:21 +0800
 To:  <blue(at)bluesarthouse.com>
 Cc:  <hwg-basics(at)hwg.org>
 References:  bluesarthouse
  todo: View Thread, Original
G'day

As far as I can tell, the script always returns "false" hence the form weill
never be submitted (except in browsers without javascript)

Try adding this line at the end of the FormSubmit function:

return true;

And change the onsubmit to:

onSubmit="return FormSubmit();"

This ~should~ fix the problem.

HTH
--
Bert Doorn, Web Developer
CIW Associate, IWA Member
www.betterwebdesign.com.au
Fast Loading, User Friendly Websites

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA