I created collapsible content with sections as follows
<div data-role="collapsible-set"> <div data-role="collapsible" data-collapsed="false"> <h3>Section A</h3> <p>I'm the collapsible set content for section B.</p> </div> <div data-role="collapsible"> <h3>Section B</h3> <p>I'm the collapsible set content for section B.</p> </div>
The above block creates folded content with two sections with an extended section.
I would like to expand the first section, the extended and the second section, as collapsed. As soon as I perform any action in the first section, the second section should expand, and the first part should be collapsed.
I tried to change these properties - collapsed = "true" dynamically, but it does not load as advanced.
Can someone help me fix this issue or any url that lists properties or attributes that can be used with legible content
jquery jquery-mobile mobile
Prasad
source share