I've got a link I want to appear on my page,
<a>add another</a>
But it doesn't look like a link unless I add an href
attribute. I'm going to be using jquery to add a .click()
event to it, so it doesn't really need anything else.
What's the best value to href
to? #
? javascript:void(0)
? My concern is if someone clicks it before the .click()
event gets added or something. #
will scroll them to the top of the page, void(0)
looks kinda nasty and isn't informative if they look at the address bar...