views:

368

answers:

1

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?

+7  A: 

The @ selector is deprecated in jQuery 1.3.

Try removing it:

[for='registration_primary_email']
Seb
+1 this is very true and looks like the only problem I see
TStamper
Thanks, that was it
Dan