Why wont this work in IE 7? Any help would be greatly appreciated!
Why wont this work in IE 7? Any help would be greatly appreciated! http://www.k-e-w-l.ca/slideToggle.php
Share
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.
I’ve played around for a little bit and it seems you want to enable the click action on the link that is being clicked, rather than the
lielement.$is just an alias forjQueryThere’s also a problem with your HTML, in that you have divs as children of your
ulelement. You can just have anotherulwithin the list item itself. As another point, an ID should be unique for each DOM element.I’ve put this up as a jsFiddle here: http://jsfiddle.net/8q8jy/1/