I did something similar here.
http://glenlipka.kokopop.com/jQuery/inlineError.htm

Basically return false on the input if the criteria is not met.  And if it
is met, then do
$("#formID")[0].submit().

The answer to your question (I think) is to return false on the onclick
event.

Glen

On 11/22/06, Andy Matthews <[EMAIL PROTECTED]> wrote:

I'm running that function I posted earlier. And if it's the incorrect
coupon
code, the client wants to prevent the form from being submitted until it
IS
the correct code (or blank).

Can someone remind me how I'd render a form unsubmittable using jQuery?

<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to