|
我的.net application很奇怪,凡是加了require field validator 的page,
upload上网后,validator 会有response(就是说如果user没enter value会出提示)
但即使我enter了value,按button竟然没有反应!!
这个.net application 在localhost running并没有这样的问题,upload上网才这样!!
为何呢? 如果我remove所有的validator 再upload,按button就会有反应!!
看来问题出在validator了!!
in my original register.aspx.. i did have the following code
<form id="Form1" name="form1" method="get" runat="server">
once upload and click view source, the code changed to
<form name="Form1" method="get" action="register.aspx" language="javascript" onsubmit="if (!ValidatorOnSubmit()) return false;" id="Form1"> |
|