How to manipulate collapsible element programmatically.
Hello.
I can expand and collapse this by clicking the element.
- <div data-role="collapsible" data-collapsed="true" id="TestCollapsible">
- <h2>title</h2>
- ...
- </div>
However, I need to manipulate collapsible element like following:
- $("#TestCollapsible").collapsible("expand");
I could not find such a method.
Any help would be greatly appreciated.