jQuery: Toggle - List
问题 This is a continuation from here: jQuery: List expands on page load Hi, Since my previous post, I've worked on another list and come up with this: http://jsbin.com/emaza4/4 As you may see, the first <li> element with a <ul> child (item '#') opens automatically on page load, and the other "parents" stay closed until any one of them is clicked. I achieved this by putting item '#' under class 'abc' and the rest of the items under class 'xyz'. Next, I would like to be able to click on another