检查是否启用了JavaScript? [英] Check JavaScript Enabled?
本文介绍了检查是否启用了JavaScript?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何检查客户端计算机的浏览器上是否启用了JavaScript?
如果禁用,那么我想重定向到错误页面.
How to check whether JavaScript is enabled or disabled on the client computer''s browser?
If disabled, then I want to redirect to the error page.
推荐答案
在这种情况下,可以使用两种技术.下一页讨论其中的大多数内容.
http://stackoverflow.com/questions/121203/how-to-detect- if-javascript-is-disabled [ ^ ]
There are couple of techniques which can be used in this case. Following page discusses most of them.
http://stackoverflow.com/questions/121203/how-to-detect-if-javascript-is-disabled[^]
这篇关于检查是否启用了JavaScript?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文