if ($("#myform").valid()) { /*驗證成功,post the form data to server*/ } else return false; });. 範例實作 範例一:Input Textbox必填欄位驗證.
確定! 回上一頁