admin管理员组文章数量:1025218
i am having a application in which java script is must. but i am facing problem when at any client browser has java script disabled. i want a code using which i can check the browsers java script enabled/ disabled property so that the user cannot login until he enables javascript. can anyone help me in this code
i am having a application in which java script is must. but i am facing problem when at any client browser has java script disabled. i want a code using which i can check the browsers java script enabled/ disabled property so that the user cannot login until he enables javascript. can anyone help me in this code
Share Improve this question edited May 9, 2013 at 14:40 marc_s 757k184 gold badges1.4k silver badges1.5k bronze badges asked Oct 27, 2010 at 9:00 Sumit GuptaSumit Gupta 5691 gold badge11 silver badges33 bronze badges2 Answers
Reset to default 8You could simply have the "log in" button disabled by default and have it enabled by JavaScript when the document is loaded.
Also put a message saying the JavaScript is disabled on a page and make it visible by default. Upon document load, hide the message. Alternatively, use the <noscript>
tag.
Take a look at this project
i am having a application in which java script is must. but i am facing problem when at any client browser has java script disabled. i want a code using which i can check the browsers java script enabled/ disabled property so that the user cannot login until he enables javascript. can anyone help me in this code
i am having a application in which java script is must. but i am facing problem when at any client browser has java script disabled. i want a code using which i can check the browsers java script enabled/ disabled property so that the user cannot login until he enables javascript. can anyone help me in this code
Share Improve this question edited May 9, 2013 at 14:40 marc_s 757k184 gold badges1.4k silver badges1.5k bronze badges asked Oct 27, 2010 at 9:00 Sumit GuptaSumit Gupta 5691 gold badge11 silver badges33 bronze badges2 Answers
Reset to default 8You could simply have the "log in" button disabled by default and have it enabled by JavaScript when the document is loaded.
Also put a message saying the JavaScript is disabled on a page and make it visible by default. Upon document load, hide the message. Alternatively, use the <noscript>
tag.
Take a look at this project
本文标签: javascriptC code to check Java script disabled in browserStack Overflow
版权声明:本文标题:javascript - C# code to check Java script disabled in browser - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745619543a2159490.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论