I have numerous anchor tags on my page that only trigger jQuery actions on the same page.Alternative zu <a href="#"> when the anchor tag only triggers a jQuery action without redirecting the user?
The don't redirect the user to another location, which is the normal expected behavior of an anchor tag.
I don't want to have restful urls in my app for every action. But, I also don't like sending the user to the top of the page every time they click on one of these <a href="#">
tags.
What's a better value to put inside the href
value of the anchor tag besides #
?
Haben Sie gefunden, eine Lösung oder ist meine Antwort, was Sie umgesetzt? Wenn es ist, wäre es schön, wenn Sie es als Lösung markieren könnten. :-) –