How to perform jquery actions on elements not yet visible
<p>I have a textarea in a div that I need to call a jquery function on to activate my rich textbox.  The div is initially hidden and becomes visible through a button click on the server side:</p>

<pre><code>&lt;div id="RichTextDiv" style="display:none"&gt;
 &lt;textarea id="RichText" /&gt;
&lt;/div&gt;

&lt;script type="text/javascript" language="javascript"&gt;
  $(document).ready(function () {
    $("#RichText").markItUp(mySettings);
  }
&lt;/script&gt;
</code></pre>

<p>The above code doesn't work because RichTextDiv is not visible during page load.  I need to perform the markItUp() action on RichText as soon as it becomes visible.  How can this be achieved in jquery?</p>

<p>Thanks...</p>
