let data=$("#rep_form").serialize()
$.ajax({
type : "post",
url : global_url + '/DS8K/add_repair_record',
data : data,
dataType : 'json',
contentType: "application/x-www-form-urlencoded; charset=UTF-8",
success:function (res) {
}
});
Jquery序列化表单参数上传后台
最新推荐文章于 2021-05-02 16:56:43 发布