Various refreshes of jquerymobile partial rendering_html/css_WEB-ITnose
WBOY
Release: 2016-06-24 12:03:10
Original
1247 people have browsed it
在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;
Reason: Because it is manual jquerymobile cannot re-render after changing its value. In this way, the value displayed on the page is different from the actual value. (jquerymobile hides the form elements, and then uses js to add some elements to beautify the effects of input, select, textarea and other elements)
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn