Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在页脚我们给
<script src="/js/general.js"></script>
文件,但在(ipad3,iphone5)的应用程序模式下,该文件不起作用。任何建议都会很棒。
尝试编写js文件的完整网址,例如,
js
<script src="http://www.example.com/js/general.js"></script>
Try providing the type="text/javascript" in the script tag.