Response title
This is preview!
i have this example: http://jsfiddle.net/olli/kuLN2/
i would expect that i would have to call listview('refresh') on the ul
element after a new phone is added. this step is usually required to
enhance a newly added list item.
in the example the list item is enhanced without a call to
listview('refresh'). i wonder why :-)
//auto self-init widgets$( document ).bind( "pagecreate create", function( e ){$( $.mobile.textinput.prototype.options.initSelector, e.target ).not( ":jqmData(role='none'), :jqmData(role='nojs')" ).textinput();});should be//auto self-init widgets$( document ).bind( "pagecreate create", function( e ){$( $.mobile.textinput.prototype.options.initSelector, e.target ).not( $.mobile.page.prototype.options.keepNative ).textinput();});
© 2013 jQuery Foundation
Sponsored by and others.