上一页 1 ··· 115 116 117 118 119 120 121 122 123 ··· 198 下一页
摘要: DataDeal.js:$.ajaxSetup({ contentType: "application/x-www-form-urlencoded; charset=utf-8"});var DataDeal = { //将从form中通过$('#form').serialize()获取... 阅读全文
posted @ 2015-04-26 15:13 Shimily 阅读(3934) 评论(0) 推荐(0)
摘要: var json= { "Type": "Coding", "Height":100 }; console.log(json) $.each(json, function(i) { console.log("属性:"+i+" 属性值:"+json[i]); }); 阅读全文
posted @ 2015-04-26 14:50 Shimily 阅读(164) 评论(0) 推荐(0)
摘要: 防止中文乱码:decodeURIComponent 阅读全文
posted @ 2015-04-26 14:38 Shimily 阅读(2514) 评论(1) 推荐(0)
摘要: 输出标准的查询字符串: a=1&b=2&c=3&d=4&e=5 注释:只会将”成功的控件“序列化为字符串。如果不使用按钮来提交表单,则不对提交按钮的值序列化。如果要表单元素的值包含到序列字符串中,元素必须使用 name 属性。Demo1: 表单序列化 ... 阅读全文
posted @ 2015-04-26 14:03 Shimily 阅读(220) 评论(0) 推荐(0)
上一页 1 ··· 115 116 117 118 119 120 121 122 123 ··· 198 下一页