On Mon, 2002-03-04 at 21:00, Howard Lowndes wrote:
> I think JS has its place and one that comes to mind is in parsing forms
> input prior to a GET or POST. What is wrong with the browser being made
> to perform some attempt at ensuring reasonably clean input to CGI scripts
> instead of making the CGI do all the work.
Ouch ouch ouch - the cgi _always_ has to do all the work anyway. Never
ever trust the users - they're completely disreputable. All of 'em ;)
But yes, using javascript to do additional, optional, checking, to save
the end user some time in posting obviously incorrect data (while making
sure it doesn't actually interfere with their ability to post if
javascript is not on/not available), is reasonable. The trouble is,
most people who use js don't seem to test without it. At least, most
large web design houses don't seem to. Maybe some of the smaller 'uns
pay a little more attention to these details ;)
KevinL
-- Internet techie Obsidian Consulting Group Phone: +613 9653 9364 Fax: +613 9354 2681 http://www.obsidian.com.au/ darius@obsidian.com.au
This archive was generated by hypermail 2.1.1 : Sun Mar 31 2002 - 03:10:04 EST