ReferenceError: Sys is not defined
时间:2014-01-17 08:43:34
收藏:0
阅读:1027
项目框架MVC3
1 <form action="/Organization/Update" method="post" onclick="Sys.Mvc.AsyncForm.handleClick(this, new Sys.UI.DomEvent(event));" onsubmit="Sys.Mvc.AsyncForm.handleSubmit(this, new Sys.UI.DomEvent(event), { insertionMode: Sys.Mvc.InsertionMode.replace });">
1 @using (Ajax.BeginForm("", new AjaxOptions() { })) 2 { 3 4 }
生成后 Sys onclick 和 onsubmit 中的 Sys 不是js系统变量,也说明了为什么每次都是 catch 2次
原文:http://www.cnblogs.com/tq1226112215/p/3522724.html
评论(0)