2017年了,转眼就30岁了,时间真TM快。
纵观这一年的改变,在得知时,如五雷轰顶,咬牙离开了原来的地方,自己找了个单间住下,又咬牙决定学车,恰巧在年前无法考试。
我心态的变化就是更加包容,更加阳光了,只是找不到对象。年年为这事发愁。
好了,心声说完,开始说正事。
============================我是正经的分割线===========
如果用表单提交数据,我们往往使用$('#postForm').serialize()或$('#postForm').serializeArray()来获取序列化数据。
$.ajax({
url : "http://localhost:8080/STS/rest/user",
type : "POST",
data : $( '#postForm').serialize(),
success : function(data) {
$( '#serverResponse').html(data);
},
error : function(data) {
$( '#serverResponse').html(data.status + " : " + data.statusText + " : " + data.responseText);
}
});
不过,上传文件时,

280

被折叠的 条评论
为什么被折叠?



