i have a form in which have 30 input box and 10 text area field and all are mandatory fields.
How do i apply a validation through jQuery / javascript together for all input field that it can't be blank/empty/NULL.
i don't want to use each time each input box's ID and create a separate validation for each input box and text area
if any input field is blank then it's border become red and when a use going to write something then become normal( no border i.e. remove that class)
UPDATE:
there are also select boxes ..how do i validate them together