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.
精彩评论