Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
10桁または13桁のユーザー入力をチェックするjquery検証プラグインのカスタム検証ルールを作成するにはどうすればよいですか?助けてくれてありがとう。
検証の非常に単純なサンプル
$("#FormToValidatePhoto").validate({ rules: { Title: { minlength: 10, maxlength: 13 } }, messages: { Title: { minlength: "Min is 10", maxlength: "Max is 13" }} });