开发者

Pinax and jquery: data("page") is undefined

I am working on Pinax and jQuery Mobile and a page keeps hanging. I saw following error in Firebug. I hope someone can suggest me a dire开发者_高级运维ction to solve this problem.

Thanks, Chris

{u% extends "projects/base.html" %}

Also, there is a JavaScript error:

l.data("page") is undefined


By retrieving a page JQM searches for data-role="page". If it cannot find it you get "l.data("page") is undefined". So I guess you need to add a data-role="page" in the html file you retrieve.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜