It’s my first jQuery script, very short: http://jsfiddle.net/XGrJR/
in IE 7, when I click on a tab, the content just disappeared!
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.
The
idattribute must be unique. when you violate this rule you can never forecast what will happen.From JQuery docs:
So your Javascript-jquery can be valid, but won’t work with invalid HTML.
I updated your’s JSFiddle with unique ids.