Hey guys and gals,
I am building a phonebook that is written in asp, javascript and html. I am currently using javascript to display/hide items by altering the CSS.
I am using an <a> tag as follows:
<a onClick="callJavaFunction()">Show</a>
As the <a> tag has no href attribute it does not display as a regular hyperlink (which I would ike it to do). I could add a ' href="#" ' which would display this as a hyperlink but this is a bit hacky for my liking.
Any ideas how to make the 'Show' text look like a hyperlink but without the hack?
Thanks in advance.
Leon


LinkBack URL
About LinkBacks
Reply With Quote

