在jQuery Mobile的页面时,我创建了一个链接,动态加载其他页面:离开JavaScript的完整动态加载页面到jQuery Mobile的
<a href="advertiser.php" data-role="button" data-inline="true" data-theme="b">Add New Advertiser</a>
当页面被加载时,JavaScript是在页面的<head>
已被删除。
有什么办法让jquery mobile保持已加载页面的脚本完好无损吗?
**你的**脚本被剥掉了。**? – Shyju
我编辑了这个问题 – nuway
答案在这里btw http://jquerymobile.com/test/docs/pages/page-scripting.html – nuway