jquery mobile 记录
发布日期:2021-06-24 18:14:31 浏览次数:2 分类:技术文章

本文共 507 字,大约阅读时间需要 1 分钟。

1、刷新radio选中状态

$("input[type='checkbox']").attr("checked",true).checkboxradio("refresh");

2、加载dom后刷新样式

$("#list").append(html).listview('refresh');

3、翻页

$.mobile.changePage("#list","slide",false,true);

4、显示loading及隐藏

$.mobile.showPageLoadingMsg();

$.mobile.hidePageLoadingMsg();

5、jax中post提交form所有元素序列化提交方法.serialize();

var formData = form.serialize(); 

//.serialize() 方法创建以标准 URL 编码表示的文本字符串   
$.ajax({ 
type : "POST", 
url  : "save.asp",  
cache : false, 
data : formData, 
success : onSuccess, 
error : onError 
}); 

6、

转载地址:https://blog.csdn.net/weixin_34248258/article/details/86109538 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:Mysql存储过程
下一篇:jQuery 集合 串联操作( andSelf() end() add() contents() )

发表评论

最新留言

路过按个爪印,很不错,赞一个!
[***.219.124.196]2024年04月10日 19时20分52秒