pCloud Premium
Home » JQuery » Syntax error, unrecognized expression: [rel*=name:] with jQuery 1.5 and greater
JQuery

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

pCloud Premium

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.

Example
Error: Syntax error, unrecognized expression: a[rel=Some text here]
Source File: http://www.somedomain.com/js/jquery/jquery.js?ver=1.8.3

Solution
For the above code Change the syntax from

to

Now it works.

Tags

About the author

Vipin

Hi, i am Vipin, a programmer working in Dubai, UAE. I love blogging, and so started TechRounder for sharing my findings and other digital informations with others too. Please feel free to share your feedback with me in the comment section below or you can email me at vipin@techrounder.com.

Add Comment

Click here to post a comment

Your email address will not be published. Required fields are marked *

pCloud Premium

Get latest updates
in your inbox

Subscribe to TechRounder mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.