Title: jQuery error
Last modified: March 22, 2018

---

# jQuery error

 *  Resolved [frietsje](https://wordpress.org/support/users/frietsje/)
 * (@frietsje)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/jquery-error-57/)
 * It seems that the new javascript code from version 1.2.1 fires an error:
    var
   inline = jQuery(“a[href^=#]:not([href=#])”); Syntax error, unrecognized expression:
   a[href^=#]:not([href=#])

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [w3dev](https://wordpress.org/support/users/w3dev/)
 * (@w3dev)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/jquery-error-57/#post-10105479)
 * I’m not able to get that error on my end, could you post your working URL so 
   I could take a look at it?
 *  Thread Starter [frietsje](https://wordpress.org/support/users/frietsje/)
 * (@frietsje)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/jquery-error-57/#post-10106680)
 * Sorry, I don’t have a live URL at the moment with the update active.
    But after
   some debugging it seems that the # can cause trouble if not escaped by \\ or 
   put in between quotes.
 *  Plugin Author [w3dev](https://wordpress.org/support/users/w3dev/)
 * (@w3dev)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/jquery-error-57/#post-10115285)
 * Thanks, i’m going to adjust that.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘jQuery error’ is closed to new replies.

 * ![](https://ps.w.org/w3dev-fancybox/assets/icon-256x256.jpg?rev=1735008)
 * [fancyBox 3 for Wordpress](https://wordpress.org/plugins/w3dev-fancybox/)
 * [Support Threads](https://wordpress.org/support/plugin/w3dev-fancybox/)
 * [Active Topics](https://wordpress.org/support/plugin/w3dev-fancybox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3dev-fancybox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3dev-fancybox/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [w3dev](https://wordpress.org/support/users/w3dev/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/jquery-error-57/#post-10115285)
 * Status: resolved