0
我使用jQuery.validationEngine來匹配密碼和確認密碼字段。驗證引擎匹配字段
<input value="" class="validate[required,custom[password]] text-input" type="password" name="txtpswd" id="txtpswd" />
<input value="" class="validate[required,equals[txtpswd]] text-input" type="password" name="password2" id="password2" />
上面的代碼工作正常。
但:
第一個問題:雖然我在他們的任何一個/兩個(輸入標記)中使用runat =「server」,但它無法匹配。
第二個問題:雖然我使用服務器控件(文本框)來代替html輸入標記,但它無法匹配。
請告訴我我錯在哪裏?請幫我解決我的問題。