<pre><input type="text" class="form-control numberValidation" /> <!-- JS Plugins Init. --> <script> $(document).on('ready', function () { $("#signupform").validate({ errorClass: 'invalid-input' }); jQuery.validator.addClassRules('numberValidation', { number: true }); }); </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)