jquerymobile動態添加元素以後有些不能被正確渲染的解決方法: listview: 添加 jq(".detail").listview("refresh"); div或其餘: 添加.trigger( "create" ); jq(".detail:eq("+ix+1+")").append("<li>"+data.linete[i].S_Station+data.linete[i].D_Station+data.linete[i].S_Time+data.linete[i].D_Time+data.linete[i].distance+"</li>"); }); jq(".detail").listview("refresh") jq("#container").append("<div data-role='collapsible' data-collapsed='true' class='info' data-transit='"+window.tranResult.getLo(i)+"' data-source='"+tran.getSource()+"'data-destination='"+tran.getDestination()+"'><h2>"+window.tranResult.getLo(i)+"</h2><ul data-role='listview' data-inset='true' class='detail'> </ul><ul data-role='listview' data-inset='true' class='detail'></ul></div>").trigger( "create" );