Jquery mobile listview - check initialization is complete

前端 未结 4 715
野性不改
野性不改 2020-12-11 15:24

I\'ve coded my way into a corner.

I need to call listview(\"refresh\") on a list, however it may not have been initialized at the point I am calling the

4条回答
  •  生来不讨喜
    2020-12-11 16:09

    For me the solution to this message was to add data-role="listview" to my ul element. I could then use the method .listview('refresh') in my event handlers.

提交回复
热议问题