好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

jquerymobile局部渲染的各种刷新_html/css_WEB-ITnose

在JQueryMobile页面在第一次初始化进行一次整体渲染,动态生成的需要局部渲染。

在jquerymobile实现listview局部渲染的方法:

Java代码

function queryPublishOrderList(trackOrDealOrInsp,userCode,type,pageNum){ var queryPublishOrderListURL="http://xxx.xxx.xxx.xxx/Myapp/WorkOrderSelByTypeService.svc/WorkOrderSimpSelByType/Json/"+trackOrDealOrInsp+"/"+userCode+"/"+type+"/"+pageNum; $.ajax({ type: 'get', dataType : "json", url: queryPublishOrderListURL, contentType: 'application/json', data: [], success: function(data) { var sb = new StringBuffer(); $.each(data, function(i,item){ //创建一个工单列表行对象 sb.append(" "); sb.append(" "+item.work_orders_id+" "+i+" "); sb.append(" "); sb.append("

工单号: "+item.work_orders_id+"

查看更多关于jquerymobile局部渲染的各种刷新_html/css_WEB-ITnose的详细内容...

  阅读:35次