You can't. Imagine that you could. There's nothing to stop the visitor to your site to disable JS while your script is busy creating a page assuming that the browser has it enabled.
You'll have to send down a page with <SCRIPT> and <NOSCRIPT> tags.
If ever possible, make sure your site/page will work in both cases. If not possible in your case, let the <NOSCRIPT> tag indicate to your visitor that s/he must turn it on to visit and/or make use of your site/page.
In reply to Re: Check for JavaScript Enabled
by Biker
in thread Check for JavaScript Enabled
by anil_kansal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |