Hi Balu,
Common sense says that if you're going to detect if JavaScript is disabled, you'd better do
it in something besides JavaScript! Check instead to see if scripting is enabled.
You might, for instance, use something like document.location = 'java_page.html' to
redirect the browser to a new, script-laden page. Failure to redirect implies that
JavaScript is unavailable, in which case you can either resort to CGI ro utines or insert
appropriate code between the <NOSCRIPT> tags. (NOTE: NOSCRIPT is only available in Netscape
Navigator 3.0 and up.)
Nov 23, 2009