Jquery序列化表單引數上傳後臺

ing X發表於2020-12-11
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) {
					
							}
				});

相關文章