Jump to content

check javascript turned off or on using php


robert_gsfame

Recommended Posts

You can't directly, since Javascript is a component of the browser. You could assume it's turned off and have an AJAX function execute to set your flag to "enabled". This would only happen if the user had Javascript enabled. But this only happens when the page is loaded in the browser.

 

Ken

OMG....i really worry now as 80% of my pages contain javascript and it wont work if javascript turned off...i search on google and i found that less than 10 % browsers have disabled their javascript....i dont know whether is it true or not but hope it's true.. :P

OMG....i really worry now as 80% of my pages contain javascript and it wont work if javascript turned off...i search on google and i found that less than 10 % browsers have disabled their javascript....i dont know whether is it true or not but hope it's true.. :P

 

JavaScript should only be used to enhance existing functionality.  If JavaScript is required for your site to work, you should redesign it.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.