Javascript diabled? (was Re: [PHP-DB] onMouseOver & onMouseOut)

From: Date: Fri, 02 Mar 2001 19:45:18 +0000
Subject: Javascript diabled? (was Re: [PHP-DB] onMouseOver & onMouseOut)
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-7086@lists.php.net to get a copy of this message
Curious. I disabled javascript in IE 5.5 Out of the limited scripting I use on my site, the navigate to first entry field nolonger works, but the onchange() event seems to be firing still... Go figure. "Ron Brogden" <rb@islandnet.com> wrote in message news:5.0.0.25.0.20010223133209.02ce6e50@pop.islandnet.com... > At 06:27 PM 2/23/2001 -0300, you wrote: > >Remember, php is server side while JavaScript is client side. You can't use > >php client side. You can use some client side events to call php scripts > >which will run on the server and send data to the browser. Events are client > >side, so try JavaScript you'll enjoy it too. > > Also keep in mind that Javascript should *never* be relied upon for input > validation. > > It is trivial to disable Javascript on the client side (and there are very > good reasons for doing so, drop by www.securityfocus.com sometime for > reasons why) and you cannot trust any data that comes from the end user. I > personally would never recommend Javascript "crippling" your site - it > should run perfectly without it since support varies from browser to > browser (not everyone uses the latest version of IE) and you have no > guarantee that it will be enabled client side at all. That's not even > getting into people building URLs by hand for "kicks". Since you have to > perform input validation server side anyway, this makes Javascript pretty > much useless for this purpose. > > Javascript is really only useful for display effects that do not affect > accessibility which means they should be avoided most of the time just like > Macromedia Flash, Quicktime, etc. unless you are 100% sure your audience > meets your site's requirements exactly. > > All IMHO of course. > > Cheers, > > Ron > > > -------------------------------------------------------------------------- --- > Island Net AMT Solutions Group Inc. Telephone: 250 383-0096 > 1412 Quadra Toll Free: 1 800 331-3055 > Victoria, B.C. Fax: 250 383-6698 > V8W 2L1 E-Mail: support@islandnet.com > Canada WWW: http://www.islandnet.com/ > -------------------------------------------------------------------------- --- > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#7086) next »