how to validate form controls using single function. in javascript
first, it will check all textboxes,dropdowns,listboxes empty or not using single function.if it is empty,it will show error message below the textbox and highlight the textbox color with red.
if it is not empty it will check another validations like email,phone etc.
i want to use single function to check all textbox,dropdowns,listboxs is empty in javascript.
i searched many time in google. i did not get any results, using single function to check all are empty or not. any help plz..
i want to decrease my code as it possible.i have to use this code for multiple pages..
Go to the complete details ...