How Can I Perform Form Validation Using Javascript

How Can I Perform Form Validation Using Javascript