php - checking javascript is enabled -


i building html page. make quick 1 line test which, if user has javascript enabled says "javascript on" otherwise says "javascript off" let them know.

how can this?

<div id="js_onoff">javascript off :(</div> <script>     document.getelementbyid("js_onoff").innerhtml = "javascript on, yeah! :)"; </script> 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -