Hi I am making registration form for my website,how can i write javascript validation code to display errors with out an alert box. I want to display an error message next to the input field.
I understand using a framework just for form validation is overkill but if you are planning to do more things using javascript then I definitely recommend using a framework like jQuery
@WolfShadeApr 16.2012 — #In a nutshell, place a div with a unique ID just next to the inputs and change the innterHTML of each to display the error message as it pertains to that field if that field isn't valid.