jquery - Not working validation input in application -


i have problem width validation input "password" , "login" in application. tests on google chrome , android device. don't know why not working. me. thanks

it not working code:

<input id="username" type="text" class="form-control" name="username" placeholder="login" autofocus="" required="required"/> <input id="password" type="password" class="form-control" name="password" placeholder="password" required="required"/> 

you have include code inside form tag this

<form>  <input id="username" type="text" class="form-control" name="username" placeholder="login" autofocus="" required="required"/> <input id="password" type="password" class="form-control" name="password" placeholder="password" required="required"/> <input type="submit" value="send"> </form> 

Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -