slideUp() Problem in Safari Browser

slideUp() Problem in Safari Browser

Hi,

after domready i'm wraping some Elements and then i want to slide it up. But in Safari it doesn't work at this point (domready). It only works if hide() or if i'm not using the wrapped element. But in all other browsers (firefox, IE, etc.) it works. Yeah it also works in IE ;-)

here's the code snippet

  1. $(el).find(config.crop.cropTag).wrapAll('<span class="' + config.crop.hiddenClass + '"></span>'); 
  2. // the alerts works fine, so it will be found in safari but slideUp doesn't work
    // alert($(el).find('span.' + config.crop.hiddenClass));

  3. $(el).find('span.' + config.crop.hiddenClass).slideUp(1);

hope someone could help me please!
thanks a lot!