Forum Moderators: open
I have tried the following:
1. href="javascript://"
2. href="javascript:return false"
3. href="javascript:void()"
4. href="#"
But none of these are satisfactory -- e.g., the 4th one always points to the top of the page, the 1st one is "inaccessible" as the Poodle predictor tells me.
Any thoughts?
My intenttion is to have a link that does not point to anything. It should have an onclick but for those who do not have javascript enabled it should point to nothing...also, for those who have js enabled, it should be the best possible (accessible) way of doing things..