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.
我正在研究 Pinax 和 jQuery Mobile,并且页面一直挂起。我在 Firebug 中看到了以下错误。我希望有人可以建议我解决这个问题的方向。
谢谢,克里斯
{u% extends "projects/base.html" %}
此外,还有一个 JavaScript 错误:
l.data("page") is undefined
通过检索页面,JQM 搜索 data-role="page"。如果找不到它,您会得到“l.data("page") is undefined”。所以我猜你需要在你检索的 html 文件中添加一个 data-role="page" 。