user982124
user982124

Reputation: 4622

jQuery Form Validation in jQuery Mobile

I'm trying to use form validation that is working in this example with my jQuery Mobile project:

http://jsfiddle.net/elijahmanor/A8jt3/light/

This example works but uses an older version of jQuery Mobile js and css files. I'm working with the 1.0 release version which appears to have broken this form validation. You can see my updated version at:

http://jsfiddle.net/8dHg9/3/

You'll notice when you click the Login button you get the alert messages but they are not in red and are in the wrong location compared to the original version.

Can anyone locate what broke the original version and how to restore functionality to new version using jQuery Mobile 1.0?

Upvotes: 3

Views: 13425

Answers (1)

travega
travega

Reputation: 8415

Try this:

http://jsfiddle.net/8dHg9/37/

Upvotes: 3

Related Questions