When we click <a href="#" onclick="function();">Post data to server</a>
, the #
is displayed at the end of the URL.
Is there a way to not have it displayed?
I have tried removing the href="file.ext"
part, which works, though it produces unwanted results. It removed the color and underline styles of the hyperlink, making it appear to be just regular text.