jquery.js?ver=1.12.4-wp:2 – Syntax error, unrecognized expression: [href=#]
-
Only happened after I upgraded WordPress to the latest version 5.5.1 and the plugin version to 2.1.
(was working on localhost with previous versions of both).I am using the plugin like this:
echo '<a class="xoo-el-action-sc xoo-el-login-tgr" style="display:inline-block;"><span class="footerlogin">Login</span></a><span class="loginseperator"> | </span><a class="xoo-el-action-sc xoo-el-reg-tgr" style="display:inline-block;"><span class="footerregister">Sign up</span></a>';(using the classes
xoo-el-login-tgrandxoo-el-reg-tgrto initiate pop-up in HTML)When I click on
LoginI get the following error in jQuery (and the plugin fails to work/pop-up)jquery.js?ver=1.12.4-wp:2 Uncaught Error: Syntax error, unrecognized expression: [href=#]in chrome javascript console.
Seems to be an error with an older version of jQuery and not being a valid href link?
Are the plugin developers aware of this and is there a fix?
The topic ‘jquery.js?ver=1.12.4-wp:2 – Syntax error, unrecognized expression: [href=#]’ is closed to new replies.