Nested collapsible set into a collapsible set
Hi! JQM team!
I first want to say that i had a lot of fun to use JQM framework! Thanks a lot! Usefull and easy to use! Very good work!
I'll be glad if my problem contributes to your community.
Here is my problem:
I got a collapsible set (main menu). This one contains nested collapsible set (sub menu).
When i expand an item of the main menu it works fine. Sub menus appears.
But when i want to expand a sub menu item it close all menus items bringing us back to main menu items.
here is my code
- <div data-role="collapsible-set">
- <div data-role="collapsible">
- <h3>main menu1</h3>
- <div data-role="collapsible-set">
- <div data-role="collapsible">
- <h3>submenu1</h3>
- <p>submenu1 content</p>
- </div>
- <div data-role="collapsible">
- <h3>submenu2</h3>
- <p>submenu2 content</p>
- </div>
- </div>
- </div>
- <div data-role="collapsible">
- <h3>main menu2</h3>
- <p>content main menu2.</p>
- </div>
- </div>
something wrong?
Thanks for help!