Question

I recently upgraded from jQuery 1.2.6 to 1.3.2

Now on the page I'm using the form validation plugin I get the exception:

[Exception... "'Syntax error, unrecognized expression: [@for='registration_primary_email']' when calling method: [nsIDOMEventListener::handleEvent]"  nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)"  location: "<unknown>"  data: no]

It doesn't happen with 1.2.6. Any idea what's going on?

Was it helpful?

Solution

The @ selector is deprecated in jQuery 1.3.

Try removing it:

[for='registration_primary_email']
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top