jquery-mobile – 谷歌cdn jQuery mobile

这有效:
<script src="http://code.jquery.com/jquery-1.5.min.js" type="text/javascript"></script>
<script src="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js" type="text/javascript"></script>

但我更喜欢语法:

<script src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery","1",{uncompressed:true});
</script>

在发展中.

问:我可以使用google.load命令加载jQuery mobile吗?

解决方法

据推测,Google Libraries API仅支持其 documentation中列出的图书馆,因为 Google Loader API不包含任何有关包含您自己的图书馆链接的信息.

因此,结论是目前没有办法将jQuery Mobile与Google Loader包含在一起.您是否考虑过head.js等替代品?

相关文章

页面搜索关键词突出 // 页面搜索关键词突出 $(function () {...
jQuery实时显示日期、时间 html: &lt;span id=&quot...
jQuery 添加水印 &lt;script src=&quot;../../../.....
中文:Sys.WebForms.PageRequestManagerParserErrorExceptio...
1. 用Response.Write方法 代码如下: Response.Write(&q...
Jquery实现按钮点击遮罩加载,处理完后恢复 思路: 1.点击按...