动态启用JAVASCRIPT? [英] Enable JAVASCRIPT dynamically ?

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

问题描述

您好,


我在php页面中使用AJAX,

所以如果禁用了用户浏览器的javascript,那么AJAX功能就是没有用,它会欺骗我的逻辑。


所以我保留了< noscript>在我的页面中,它说你需要在你的浏览器中启用javascript。


现在我想动态地做,即在< noscript>我将通过点击该链接给出一个链接,自动启用用户浏览器的javascript。


所以我需要做什么,以便我可以提供此功能用户。


所以请帮帮我

提前致谢



问候

罗马帕特尔

Hello,

I am using the AJAX in php pages,
so if the javascript of the user browser is disabled, then the AJAX functionality is of no use, and it will scamble my logic.

So i had kept <noscript> in my page, which says that you need to enable javascript in your browser.

Now i want to do it dynamically, i.e in <noscript> i will give a link , by clicking on that link , automatically the javascript of the users browser is enabled.

So what i need to do , so that i can provide this functionality to the user.

So please Help me out
Thanks in advance


Regards
Rome Patel

推荐答案

我不知道这是可以通过链接。最后它是一个浏览器设置,谁想要一个网站更改浏览器设置? (如果您使用的是Firefox?noscript附加组件,只需点击一下即可)
I?m not aware this is possible via link. in the end it?s a browser setting and who wants a browser setting changed by a website? (if you are using Firefox? noscript Add-on, it?s just a simple click)


感谢您的回复,


确实存在没有办法做到这一点......?


你给出的建议,我已经实施了。

现在我想要动态地做....... !!!!


谢谢&问候

罗马帕特尔
Thanks for the reply,

really there is no possible way to do that......?

The advice which you had given , that i have already implemented.
Now I want to do it dynamically .......!!!!

Thanks & Regards
Rome Patel


你已经学会了与IE一起生活,你需要与那些关闭JavaScript或根本不可用的人生活在一起(假设文本像 lynx 这样的浏览器,如果他们不打开JavaScript(他们可能有他们的理由)他们(和你)必须忍受这个事实。
As you have learned to live with IE, you need to live with people who have JavaScript turned off or not available at all (suppose text browsers like lynx) and if they don?t turn JavaScript on (they may have their reasons) they (and you) have to live with that fact.


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

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