Can web surfers switch off JavaScript?

  Marky_Bhoy 21:33 11 Jul 2004
Locked

I like to use JavaScript to check that forms have been completed correctly before they are sent.

But my JavaScript will be of no use if web surfers can switch of JavaScript.

I thought that people might want to switch it off to stop pop-up adds etc.

I had a look in the tools section on IE v6.0 but could not see anything. I also have Norton AV 2004 but can not see any control there either.

Could someone inform me if web surfers can switch off JavaScript and therefore bypass my form checks?

Thanks in advance

  barryoneoff.co.uk 23:33 11 Jul 2004

Yes

  Gaz 25 01:12 12 Jul 2004

Classed as Active Scripting in IE.

  Marky_Bhoy 12:02 12 Jul 2004

Thanks guys.

I found the control that allows me to turn off JavaScript. (Allow I reckon that most people leave this to the default setting that allows it)

However this seems that my JavaScript file that checks my forms is potentially a waste of time.

So I will have to back it up with PHP error handling. But this has the drawback of increasing web traffic.

Would anyone like to comment on form handling with PHP/JavaScript?

  PurplePenny 14:00 12 Jul 2004

Keep the JavaScript from checker but add a <noscript> - an instruction to tell the browser what to do if JavaScript is unavailable. It could for instance add a paragraph to the page saying "This form could not be checked automatically as JavaScript is not available or diabled. Please check the form to ensure that you have completed the required fields." Put that between <noscript> tags and it will not be seen by anyone with JavaSCript.

  javaBalls 16:25 15 Jul 2004

thanks

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Alienware 17 R4 2017 review

Illustrator Sylvain Tegroeg created thousands of intricate line drawings for the mobile game…

Best iPad buying guide 2017

Comment télécharger une application indisponible en France ?