$(function () { $("#test-accordion").accordion({ collapsible: true, active: false }); $(".selector").accordion(); });