I have numerous anchor tags on my page that only trigger jQuery actions on the same page.Alternativa a <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 #
?
Hai trovato una soluzione o è la mia risposta ciò che è stato implementato? Se fosse sarebbe bello se potessi contrassegnarlo come la soluzione. :-) –