本文介绍了检查javascript启用/禁用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
检查是否以html格式启用了javscript.
check whether javscript is enable or not in html form
推荐答案
<script>
alert("JavaScript is enabled.");
</script>
<noscript>
JavaScript is not enabled or not supported.
</noscript>
<noscript style="font-size: 18px; color: red; font-weight:bold">Javascript is disabled:<a href="https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=12654"target="_blank">Click here to learn how to enable it before continue.</a> <br/></noscript>
这篇关于检查javascript启用/禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!