On Jul 26, 4:48 pm, Aaron <[EMAIL PROTECTED]> wrote: > Is there a way to have it work if there is an element but if no > element on the page dont throw an error?
a) hack the plugin source code or b) add a hidden accordion-compatible element to pages which don't normally have one (that would be an ugly kludge, though). Or check for the accordion with something like: if( $('#AccordionID').length ) { ... do accordion stuff ... }