Click here to Skip to main content
15,895,793 members

Comments by Shelby Robertson (Top 27 by date)

Shelby Robertson 13-Mar-14 11:19am View    
I'm not seeing that happen. Are you double clicking the menu item perhaps?

http://jsfiddle.net/wV56B/
Shelby Robertson 13-Mar-14 11:14am View    
The slide toggle would take care of that. Is there another situation where you would want to hide all of the sub items?
Shelby Robertson 13-Mar-14 10:00am View    
http://jsfiddle.net/7fRB6/1/

Here is a jsFiddle with an example of it working
Shelby Robertson 13-Mar-14 9:54am View    
your problem is that the id for multiple elements are same. That isn't valid. You need to change your for loop to give each input and label a unique ID. Do you need me to write out an example?
Shelby Robertson 12-Mar-14 9:58am View    
ah, life cycle issue. Good Work!