[thelist] javascript://
.jeff
jeff at members.evolt.org
Thu Jun 28 00:43:22 CDT 2001
cory,
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: Cory Foy
:
: We always used <a href="javascript:void(0)
: onClick="yourFunction()">, and I have not
: encountered any issues with it at all.
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
careful using the void() function. it was implemented in js1.1 and
therefore not supported by js1.0 only browsers.
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: I would have to agree that, for accesibility
: purposes, it is better to use an image that
: looks like text, but that just MHO.
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
and if you're going to do that then validate the form using the onsubmit
event handler and not using the submit() method.
good luck,
.jeff
http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/
More information about the thelist
mailing list