[thelist] disabled javascript

Eric Engelmann eric.engelmann at geonetric.com
Thu Apr 4 10:12:01 CST 2002

I don't think the argument is against JS validation. In this situation,
being intelligent about the JS would let us have the best of both worlds. JS
should never be *required* for a simple interaction like this on a
non-personal site, but its nice to have it for exactly the reasons you
mention -- *especially* when its possible to do it so it works for both.

In other words, this would be better written as:

<form action="whatever" method="post" onsubmit="CheckTheFields();">
<input type=Submit" value="Submit">

which would do the same thing but not give you a worthless site for those
w/o JS.

There's a million scripts out there that do this (i'm sure on some on evolt)
that do exactly this type of thing. Hopefully, the server-side is double
checking the validation anyway.

- E

More information about the thelist mailing list