A user can select multiple options (through checkboxes). Upon submit, the jQuery loads the accordian menu out of the selected options (9). I am trying to show the first one as visible and the rest as collapsed. Now the problem is .. div:lt(1).show makes the first option show (but it is not the first out of what has been selected) .. it is the first from the previous page. So if I select 1, 2 and 3 (from landing page) .. upon hitting submit, 1 will be visible. however, if I select 5,6,7 from the landing page ... every menu appears as collapsed ... because it loaded as 5,6,7 instead of 1,2 and 3. I am very new to jQuery, I dunno what to do :(