By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,852 Members | 2,123 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,852 IT Pros & Developers. It's quick & easy.

Check if Javascript is enabled in Internet Explorer

P: n/a
Is there an easy way to check if Java Script is enabled in the MS Internet
Explorer browser for versions 5.0 and above?

Also, how might I test this?
Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
http://www.experts-exchange.com/Prog..._21274687.html

"Mike Moore" <Mi*******@discussions.microsoft.com> wrote in message news:2C**********************************@microsof t.com...
Is there an easy way to check if Java Script is enabled in the MS Internet
Explorer browser for versions 5.0 and above?

Also, how might I test this?

Nov 19 '05 #2

P: n/a
you need to write a sniffer page. in the code behind on render (meta
refresh) or postback, check if the value of Request.QueryString["js"].

<html>
<body>
<META HTTP-EQUIV="REFRESH" CONTENT=1>
<form name=jtest runat=server method=get>
<input type=hidden name=js value="javascript not emabled">
<script>
doument.getElementsByName('js')[0] = 'javascript enabled';
document.forms[0].submit();
</script>
<asp:button runat=server text="if this page does not automactically refresh
click here">
</form>
</body>
</html>
-- bruce (sqlwork.com)

"Mike Moore" <Mi*******@discussions.microsoft.com> wrote in message
news:2C**********************************@microsof t.com...
| Is there an easy way to check if Java Script is enabled in the MS Internet
| Explorer browser for versions 5.0 and above?
|
| Also, how might I test this?
Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.