I’m trying to use Toggle my contents under separate list items.
But what s the best method to implement this in a generic way.
I dont want to give each content a separate class or id
I’m trying to use Toggle my contents under separate list items. But what s
Share
You can use the jQuery selector children. Try this example:
http://jsfiddle.net/kKDWR/8/
Or you can use
.find()