Use A Blank Link But Not Jump To Top Of Page
I'm using a blank link to toggle a div through Jquery and in the link I have a blank link which allows you to click on the text to toggle the div but when you click toggle text the
Solution 1:
Use an <input type="button">
if you don't want the functionality of a link. Style it to look however you like.
(Alternatively, call preventDefault()
on the event object, but that still leaves you with a link that isn't a link).
Post a Comment for "Use A Blank Link But Not Jump To Top Of Page"