...getData()获得编辑框里的html内容了获得的值和设置的值以及插入的都是html格式的字符串 (如果你用的MVC的话,因为有特殊字符默认是不允许提交的,需要在HttpPost的action上加[AcceptVerbs(HttpVerbs.Post)]和[ValidateInput(false)]属性标记如下图:[HttpPost][AcceptVerbs(HttpVerbs.Post)][ValidateInpu...
...的他们是成对的出现的,but I thought I'd go ahead and share anyway。首先,我将显示AccountController中修改过的Login和Logout方法。[AcceptVerbs(HttpVerbs.Post)]publicActionResult Login(string username, string password, boolrememberMe) {...if (...