javascript login validation

Sale Price:$400.00 Original Price:$500.00
sale

First, you should have a submit button. ibox login Second, on form submit, you would validate your form and prevent default form submit behaviour. ibox login Third, either cache your "username" and "password" DOM elements or fetch them inside your "validateForm" function with document getElementyById method as @Teemu suggested

Quantity:
Add To Cart