摘要:
项目背景:MVC4代码: 1 @using (Ajax.BeginForm("Index", "GoingMeter", new AjaxOptions { OnSuccess = "result",OnBegin="begin" })) 2 { 3 // do something...... 4 } 5 ..... 6 7 function result(e) 8 { 9 //....10 }11 12 function begin()13 {14 alert('提交了。。。');15 }View 阅读全文