[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Javascript
From: |
David Woolley |
Subject: |
Re: lynx-dev Javascript |
Date: |
Thu, 4 Mar 1999 23:35:11 +0000 (GMT) |
>
> I think the last two are of the most demand by the lynx users
> since we cannot find a "submit" button otherwise on those pages.
> But this seems a little expesive to implement all javascript
> for this (estimated) lower frequency issue.
Where I've done submit processing I've revalidated the form first.
The way I've done it is Lynx safe, because I have the submit button
be a normal input type=submit, and then have an onSubmit action on
the form, which revalidates and returns false if it doesn't like
something. The false return causes a JS aware browser to abort the
submit.
The reasons for revalidating are:
- if the original check is done on onChange events, it is possible
to ignore the error messages;
- sometimes fields have to be validated in combination, or in a non-modal
context, may depend on which submit button is pressed.
At least one reason for not allowing a non-JS submission is that you
don't want to have invalid data submitted. Another reason may be that
details of the submission may be determined by combining multiple
fields.
Even with code that does no graphic trickery, location setting, style
manipulation etc., I have had enough problems in producing code which
is safe on both IE4.01 and NS4.5 without making user agent tests. That
indicates to me that even just form submission can stretch the JS
capabilities of the commercial browsers.
- Re: lynx-dev Javascript, (continued)
- Re: lynx-dev Javascript, Lalo Martins, 1999/03/01
- Re: lynx-dev Javascript, Larry W. Virden, 1999/03/01
- Re: lynx-dev Javascript, Lalo Martins, 1999/03/01
- Re: lynx-dev Javascript, Bela Lubkin, 1999/03/01
- Re: lynx-dev Javascript, Lalo Martins, 1999/03/01
- Re: lynx-dev Javascript, Bela Lubkin, 1999/03/01
- Re: lynx-dev Javascript, Lalo Martins, 1999/03/01
- Re: lynx-dev Javascript, David Woolley, 1999/03/03
Re: lynx-dev Javascript, David Woolley, 1999/03/03
Re: lynx-dev Javascript, mattack, 1999/03/03
Re: lynx-dev Javascript, David Woolley, 1999/03/05
Re: lynx-dev Javascript, Henry Nelson, 1999/03/01
Re: lynx-dev Javascript, Laura Eaves, 1999/03/01
Re: lynx-dev Javascript, Henry Nelson, 1999/03/01
Re: lynx-dev Javascript, dickey, 1999/03/01