Displaying error message : How to display error messgae using javascript or jquery only when both the feilds are empty. For example a user can either enter Zipcode or select a state from dropdown. If the user doesnot select any one of those then the error should be displayed.