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
Post a Comment