[Solved] My application jQuery not working
[ad_1] You can do what you are trying to achieve through new HTML5 attributes (required and pattern) and CSS3, see fiddle below: <li> <label for=”nic”>NIC Number:</label> <input id=”nic” type=”text” pattern = “^\d{10}$” required /> </li> JS Fiddle Example New HTML5 attributes allow you to add regex patterns that will apply to the corresponding input. Then … Read more