[Javascript] Credit card page, processing before it's ready
Shawn Milo
ShawnMilo at runbox.com
Tue Aug 31 10:39:50 CDT 2004
Yep, that's what you should be going for. You even corrected my syntax typo.
You are welcome!
Slightly off-topic:
If you're writing XHTML, it should be:
<input type="submit" value="Submit Order" id="btnSubmit"
onclick="if (!validationFunction()){return false;}" />
(Lower-case parameter names, and close the tag.
Also, an ID is required.)
Shawn
> I'm using ... <input type="Submit" value="Submit Order" OnClick="CheckCardNumber(this.form)">
> So I would want it to look like ... ???
> <input type="Submit" value="Submit Order" OnClick="if (!validationFunction()){return false;}">
>
> Thank you! Thank you!
More information about the Javascript
mailing list