Hi guys,
A problem popped up this morning that I have always known about but never had to deal with until now. What if I need to display an anchor link which goes nowhere, I have two choices right?
a href="javascript:void(0)"
or
a href="#"
I am currently building a chromeless YouTube player and the links I want to be nullified are the buttons that are calling its api functions. So I need the correct cursor behaviour but not the anchor behaviour. The # option is definitely the wrong one because it refreshes the current page but on the other hand I haven't seen javascript:void(0) used for years. Is it better for me to just use CSS to change the cursor behaviour and not use <a> tags at all?
I appreciate any advice



Reply With Quote


)
Bookmarks