-->
--> --> --> --> --> --> // give this element a unique id // set data-parent on accordion-toggle elements $(arr[0]).addClass("in"); // expand first pane // NOTE: this requires jQuery (jQLite won't do html)