when user1 and user2 do not select anything from radio box the jquery validation triggers but removes the jquery hint from the ‘fav food’ textbox. how do i prevent this?
working example: http://jsfiddle.net/NevcG/1/
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Its because of this code at the bottom:
It pretty obviously sets the value of
input.hintto nothing on submit of a form. Remove this and it’ll work as you expect.