激活JavaScript? [英] activate javascript ?

查看:145
本文介绍了激活JavaScript?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从服务器端在浏览器中激活javascript.

how to activate javascript in browser from server side.

推荐答案

简单的回答是否",您不能在客户端计算机上进行更改.这完全违反了安全性,因此没有浏览器会允许这样做.

对于您的问题,您必须找到一种解决方法,即建议客户端为您的网站启用JavaScript以使其正常工作.然后祈祷大多数用户会接受建议.

而且,是的,您可以在javascript中添加"NoScript"标签.
http://www.w3schools.com/tags/tag_noscript.asp [
Simple answer is NO, you can''t change it on client machine. That is gross violation of security and hence no browser will allow that.

For your problem you have to find a work-around i.e. advise client to enable JavaScript for your site to work correctly. And then pray that majority of the user will take the advise.

And, yes you can add a "NoScript" tag in your javascript.
http://www.w3schools.com/tags/tag_noscript.asp[^]

Hope that helps
Milind


这篇关于激活JavaScript?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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