Possible Duplicate:
Recommendation for javascript form validation library
I’ve got a HTML5 login form. The user enters their Username and Password. Currently if the password is incorrect an alert box is thrown which informs them. However, alert boxes are ugly and make everything look horrible. I’m looking for alternatives, easy to implement ideas that others find much more elegant. Something you don’t have to click to get rid of but make it very aparent to the user what happened.
My advice is to check nice jQuery plugin for form validation:
http://bassistance.de/jquery-plugins/jquery-plugin-validation/