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 #
?
您是否找到解决方案或者我的答案是您实施的?如果是这样的话,如果你可以把它标记为解决方案,那将会很好。 :-) – 2011-09-29 20:28:32