I have numerous anchor tags on my page that only trigger jQuery actions on the same page.Альтернатива <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 #
?
ли вы найти решение или мой ответ, что вы реализовали? Если это было бы неплохо, если бы вы могли отметить это как решение. :-) –