0e2defe1 by yangjianbin

init

1 parent 75df1306
......@@ -58,14 +58,14 @@
}
});
$("#work_add_btn").click(function(){
var targetUrl = $("#addForm").attr("action");
var data = $("#addForm").serialize();
var targetUrl = $("#work_add").attr("action");
var data = $("#work_add").serialize();
$.ajax({
type:'post',
url:apiBaseUrl + targetUrl,
cache: false,
data:data,
dataType:'json',
// dataType:'json',
success:function(data){
alert('success');
},
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!