I have numerous anchor tags on my page that only trigger jQuery actions on the same page.
The don\'t redirect the user to another location, which is the normal expected
If the anchor is useless to people who don't have javascript, then they shouldn't see it at all.
The best alternative is to generate these links using jQuery on page load - that way the only people who see them are those who will use them.
In this case, having href="#"
is fine, because as long as your event handler finishes with return false;
then the href
will never be followed