From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,ea7932505192c540 X-Google-Attributes: gidf7344,public X-Google-Thread: f6134,ea7932505192c540 X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,ea7932505192c540 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-02-05 22:38:03 PST Path: supernews.google.com!sn-xit-02!supernews.com!isdnet!sunqbc.risq.qc.ca!wesley.videotron.net!wagner.videotron.net.POSTED!not-for-mail Message-ID: <3A7F9B9E.C7FFFE7C@videotron.ca> From: JF Mezei X-Mailer: Mozilla 4.76 (Macintosh; U; PPC) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.org.decus,comp.sys.dec,comp.os.vms Subject: Re: Vote Early and Often... Give up your Browser Security References: <3A7F3AB9.5B2999AC@infopuls.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 06 Feb 2001 01:38:06 -0500 NNTP-Posting-Host: 24.202.148.45 X-Complaints-To: abuse@videotron.net X-Trace: wagner.videotron.net 981441436 24.202.148.45 (Tue, 06 Feb 2001 01:37:16 EST) NNTP-Posting-Date: Tue, 06 Feb 2001 01:37:16 EST Xref: supernews.google.com comp.org.decus:589 comp.sys.dec:2764 comp.os.vms:18984 Malcolm Dunnett wrote: > What *is* the correct, HTML, non Javascript way to validate user > input within a browser ( eg check that all required fields are > filled in correctly, values are within range, etc ). The is a difference between adding javascript to basic HTML and relying on javascript to run the basic page. For instance, you can display a form where each field calls a javascript for validation when the field becomes out of focus. A browser without javascript shoudl still function because it will still send your data (albeit unvalidated). However, some web developpers, wanting to impress their bosses, use javascript to actually write the HTML code for that page as it loads, and as a result, the browser misses some critical HTML when javascript is not enabled. This is sometimes motivated because they want to use fancy HTML that needs to be dynamically generated based on the type of browser because the MS browser doesn't support the exact same stuff as other browsers (or vice versa). > I don't think Javascript is a "gimmick", I think it's an > important enhancement to browsers which makes them much more > useful tools for interacting with the customer. I agree. But it must be used intelligently.