On Thu, Nov 10, 2005 at 02:53:47PM -0000, John M. Morse wrote:
>> if you can do it with scripting, there should also be a way to do
>> it without scripting
> in which case, why use scripting at all?
Convenience.
For example, being able to click submit and then have their browser
popup an alert "Foo is a required field! Please fill it in before
resubmitting!", scroll to put that field on screen, and highlight it
all within microseconds saves time and provides a much better
experience for users then waiting for the form data to be sent to the
server and a server generated response to be sent back.
The end result is the same (The user gets told that they need to fill
in foo), but scripting does so in a way that most users will find more
convenient.
--
David Dorward http://dorward.me.uk