Is there any way to enable JavaScript on the client machine using PHP?
+4
A:
No, as neither the HTTP protocol or HTML have a feature to do this. To have a website able to enable JavaScript would also be a breach of security. There is also no guarentee that the users browser has JavaScript.
You may wish to look at the <noscript> tags, which allow you to display a message to the user when JavaScript is not active.
Yacoby
2009-11-26 12:48:07