$('input[type="text"]').bind('keypress', function (e) {
if (e.which == 13) return false;
});
<appSettings>
<add key="aspnet:MaxHttpCollectionKeys" value="5000" />
</appSettings>
void Application_BeginRequest(object sender, EventArgs e)
{
UW.WU.BlockHacker();
}
A potentially dangerous Request.Form value was detected from the client (ContentBody_txtContent="<style type="text/cs...").
.aspx新增了<%@ Page validateRequest="false"%>
最後找到還需要在web.config裡面新增<httpRuntime requestValidationMode="2.0" />
相關專案: SINGTEX
1.檢查 form 是否設定 Id 及 name
2.加上<input type="submit" style="display:none"/>