如何在所有浏览器中启用JavaScript [英] How to enable JavaScript in All Browser

查看:111
本文介绍了如何在所有浏览器中启用JavaScript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用过javascript代码。我正在使用ASP .NET C#。但问题是某些用户浏览器没有得到javascript代码的结果。我创建了一个方法并使用它onblur文本框的事件。请帮帮我。

I have used javascript code. I am using ASP .NET C#. But the problem is that some of the user browser does not get result of the javascript code. I create a method and use it onblur event of a textbox. Please help me.

推荐答案

你不能这样做,因为它只是一个安全开关,只有用户可以转。

但是你如果他想在你的网站上有完整的经验,可以让你的用户注意他必须有脚本。



只需声明一个 noscript 标签:



You can not do it, since it is a security switch that only the user can turn.
But you can make your user notice he MUST have scripts on if he want to have full experience at your website.

just declare a noscript tag:

<script>
document.write("Hello World!")
</script>
<noscript>Your browser does not support JavaScript!</noscript>





了解更多信息,访问此网址:

http://www.w3schools.com/tags/tag_noscript.asp [ ^ ]



希望它有所帮助:)



for more information, access this url:
http://www.w3schools.com/tags/tag_noscript.asp[^]

hope it helps :)


这篇关于如何在所有浏览器中启用JavaScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆