Robert Granlund
asked on
Error on Anchor Tag
I am getting an error in the console from an anchor tag. I'm not sure how to fix it.
jquery-2.2.4.min.js?ver=nu ll:2 Uncaught Error: Syntax error, unrecognized expression: https://MYSITE.com/for-businesses/#myintroduction
I'm not sure how to fix a jQuery error on an anchor tag.
jquery-2.2.4.min.js?ver=nu
I'm not sure how to fix a jQuery error on an anchor tag.
Can you post the source with the anchor tag?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi,
Try removing the / before the tag
https://MYSITE.com/for-businesses/#myintroduction
by
https://MYSITE.com/for-businesses#myintroduction
Try removing the / before the tag
https://MYSITE.com/for-businesses/#myintroduction
by
https://MYSITE.com/for-businesses#myintroduction