fadeOut and tabs

fadeOut and tabs

I wanted to verify that effects don't work on multiple tabs.  For example, I want divs on multiple tabs to fadeOut when I click a button, and I'm finding that...

  1. $(".divs-in-question").fadeOut(1000);

...only works for the active tab.  I found a workaround, but I wanted to make sure it's kosher:

  1. window.setTimeout(function() { $( ".divs-in-question").css("display", "none"); }, 1000);

I thought I could put the css code in the fadeOut's callback, but it executes immediately thus negating the effect.

Thoughts?