Validation in java script

How to do text field validation in Java Script

Pls guide me

amar

Subject: Validation in java script

In the validate function of jsheader u have to write…for more information contact me.

if(document.forms[0].Fieldname.value==“”)

{

msg+="\rPlease enter in fieldname.";

 msgflag="true";

}

Subject: RE: Validation in java script

Pay no attention to the above answer. It’s extremely incomplete.

There are numerous examples of validation in JavaScript, as well as huge chunks of reusable code that you can steal outright, on dozens of JavaScript reference websites. Go search, and you will find much better and more complete information than anyone here has time to type out for you.