Syntax error, unrecognized expression: [rel*=name:] with jQuery 1.5 and greater

jQuery uncaught exception: syntax error, unrecognized expression [ tabindex=”someword”]

This error was occuring while using the syntax in jquery 1.5 or greater. The syntax seem to be working in jquery 1.4.

Error: Syntax error, unrecognized expression: a[rel=Some text here]
Source File:

For the above code Change the syntax from

a[rel=Some text here]


a[rel="Some text here"]

Now it works.

Leave a Comment

We would like to show you notifications for the latest offers and updates.
Allow Notifications