开发者

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

开发者 https://www.devze.com 2023-03-06 22:06 出处:网络
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.

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

精彩评论

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