html - how to keep the url from displaying when using a href=javascript:blah() -


don't know if easy or not (as i'm not versed in javascript and/or html), i'm trying keep url (in case it's function) showing whenever there's mouseover. i've done in html, haven't using javascript.. simple code below...

<a href="javascript:closeandopen(1);">click here</a> 

i don't want href appear.

any appreciated!

don't use javascript in "href" values @ all.

<a href=# onclick='closeandopen(1)'>click here</a> 

Comments