[thelist] javascript://

.jeff jeff at members.evolt.org
Wed Jun 27 18:43:51 CDT 2001


anthony,

:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: Anthony Baratta
:
: [a
:  href="javascript://"
:  onCLick="verifyForm(document.FormName);"
:  ...]
:
: However if my function has a .submit(), the
: function fails to submit. The whole function
: works fine (both IE and Netscape) except the
: submit when javascript:// is in the HREF.  If
: I remove the javascript:// it submits.
:
: Go figure. Any clues??
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

maybe you're paying the price for breaking accessibility guidelines by
making the form unusable to those without js?  *grin*

seriously i don't know what the problem is, although i've encountered it
before.

for reasons i'm sure you already know, i'm going to suggest that you don't
use a normal hyperlink to submit a form.  do you really need buckets of bad
web karma?

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/






More information about the thelist mailing list