JQuery Mobile trigger('create') command not working

后端 未结 10 1927
清歌不尽
清歌不尽 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:31

    For me, .trigger('create'); always works if applied to the element with data-role="page"

    Try This : $('#test-console').trigger('create');

    Hope it helps..

提交回复
热议问题