Using JQuery .load() with .hide() and .show() on page startup
<p>I'm using the following code to show a <code>div</code> on page startup:</p>

<pre><code>$("#mydiv").hide().show("slow");
</code></pre>

<p>This will make the <code>div</code> appear with a slow animation on page startup (page load / refresh)</p>

<p>However, if, on page startup (page load / refresh), I want to insert HTML from another file into this <code>div</code> before this animation starts I try to do this:</p>

<pre><code>$("#mydiv").load("myPage.html");
$("#mydiv").hide().show("slow");
</code></pre>

<p>When I do this, the animation no longer works on startup (page load / refresh). How can I load html from another file and still have the animation work on page startup (page load / refresh)?</p>
