动态加载外部脚本文件 [英] dynamically loading external script file
问题描述
我必须从不同的外部调用不同的方法每次点击我的html页面菜单中的脚本文件。因此,在我的html页面中,我动态
在每次点击时加载不同的外部脚本文件,但它在ie11中不起作用。
< blockquote>
您好,
您没有提供指向您的网站及其html菜单页面的链接。
可能你使用的是使用文件协议在IE中加载的本地html文件?例如。 file:// c:/mymenu.htm。
除非您将网络标记添加到您的网页,否则有效的脚本无效。
您需要使用Pro或Enterprise版本的Windows在本地计算机上运行IIS。
问候。
关于使用MSIE浏览器的网站的html,css和脚本的问题。
I have to call different methods from different external script file at every click in my html page menu. So for in my html page i am dynamically loading a different external script file at every click, but it is not working in ie11.
Hi,
You did not provide a link to your web site and its html menu page.
Probably you are using a local html file that is loaded in IE using the file protocol? eg. file://c:/mymenu.htm.
active scripting will not work unless you add the Mark of the Web to your page.
You need to be using a Pro or Enterprise version of windows to run IIS on your local machine.
Regards.
Questions about html, css and scripting of web sites using MSIE browsers.
这篇关于动态加载外部脚本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!