I think you just need to add a hash - just like normal jq selectors.

Email_Confirm {equalTo: #email}


Will


On 3/11/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:

 In Jorn's validation plug-in I'd like to compare

two email addresses and make sure the second

is the same as the first.

Let's say the first is called "Email" and the second

entry in the form is "Email_Confirm".

I know the plug-in has an "equalTo" function, but

I couldn't get that to work or find an example.  And

I don't know if that is a numeric function or just

a comparative function.

Something under the rules section, like:

Email_Confirm {equalTo: Email}

Not sure how to write that up.

Thanks for any help or examples…

Rick

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


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

Reply via email to