I am not familiar with jQuery so very much possible that I am overlooking something simple.
Is there a way to define these objects together, instead of 3 different instances?
$( "#accordion") .accordion({
active: false,
collapsible: true,
icons: icons,
autoHeight: false,
heightStyle: "content"
});
$( "#accordion_fulfillment") .accordion({
active: false,
collapsible: true,
icons: icons,
autoHeight: false,
heightStyle: "content"
});
$( "#accordion_warehouse") .accordion({
active: false,
collapsible: true,
icons: icons,
autoHeight: false,
heightStyle: "content"
});
I have tried doing the obvious but it's not working $( "#accordion", "#accordion_fulfillment", "#accordion_warehouse") .accordion({....})