[thelist] Back to the 'javascript:;' thing

Hershel Robinson hershelsr at yahoo.com
Thu Jul 5 09:13:33 CDT 2001


Hello Evolters, new reader of the list here, making a little post:

Does anyone know if there is any difference between the following two
options:

<a href='javascript:;' onclick='javascript:myFunction();'>
    <img src="myimage.jpg" border=0>
</a>

<a href='javascript:;'>
    <img src="myimage.jpg" border=0 onclick='javascript:myFunction();'>
</a>

I realize that the second one does actually need the A HREF to work, but I
put it there so that the mouse will change to cute little hand cursor when
it's over the IMG--this makes it clearer to the user that this IMG is
clickable.

Thanks,
Hershel Robinson


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





More information about the thelist mailing list