jQuery show / hide doesn't work when moving div inside another
<p>I've been wracking my brain on this one and can't figure out why jQuery won't show / hide a div when I place it inside a repeater.  Here's the div that I'm trying to show / hide:</p>

<pre><code>&lt;div id="EmailForMoreInfo"&gt;Hey there!&lt;/div&gt;
</code></pre>

<p>The jQuery that I use to show / hide it is here:</p>

<pre><code>if (event.srcElement &amp;&amp; event.srcElement.hash == "#2") {
    $("#EmailForMoreInfo").show();
} else {
    $("#EmailForMoreInfo").hide();
}
</code></pre>

<p>The placement of the 'EmailForMoreInfo' is placed inside a repeater:</p>

<pre><code>    &lt;div class="panes"&gt;
    &lt;asp:Repeater ID="rptProductsCategories" runat="server"&gt;
        &lt;ItemTemplate&gt;
            &lt;div id="tabs-&lt;%# DataBinder.Eval(Container.DataItem, "Key") %&gt;"&gt;
            &lt;div id="EmailForMoreInfo"&gt;Hey there!&lt;/div&gt;
            &lt;br style="clear:both;" /&gt;
            &lt;/div&gt;
        &lt;/ItemTemplate&gt;   
    &lt;/asp:Repeater&gt;
    &lt;/div&gt;
</code></pre>

<p>The above jQuery does not work when the 'EmailForMoreInfo' is placed inside the repeater.  Moving it outside the repeater, everything works.  Analyzing the jQuery shows that it finds the element just fine in either case, but only when it is outside the repeater does it actually show / hide correctly.  Otherwise, it always shows.  Anyone else run into this and have a workaround?</p>
