Cees (**snow**) schrieb: > The puropse of the .change is to catch the click of an element when the > accordion moves in (all items can be hidden (alwaysOpen=false)) and the > class stays selected but shoud revert to notSelected. > The change callback gets five argument in total. The first argument is a default event object, the others refer to the new and old title and content elements (see the example). So you can just refer to these arguments instead of searching for the elements on your own. That should be much easier.
-- Jörn Zaefferer http://bassistance.de _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/