I have an <a id="javascriptlink"> tag, without href. Its action handled by jquery onclick.
So, I want to put in css a:link {text-decoration: underline;} and a:hover {text-decoration: none;} to make it look like a link.
However, the anchor underline seems to only work when href attribute is presented. Any idea?
a:linkworks with the href being present only. If there isn’t an href, it is only an anchor and not a link.