JQuery Mobile trigger('create') command not working

后端 未结 10 1931
清歌不尽
清歌不尽 2020-12-06 10:11

JQuery Mobile is making my cry tonight. I\'m trying to build custom controls so I don\'t repeat certain elements through my app, and it\'s giving me a hard time. Specifica

10条回答
  •  悲&欢浪女
    2020-12-06 10:20

    I've found that the trigger('create');

    Works when applied to the body like so:

    $('body').append(html).trigger('create');
    

    But the issue I am running into now is the ul list are throwing an undefined error.

提交回复
热议问题