Div inside a Repeater
<p>Im trying to access a div from my repeater by pressing a button which is in the repeater too
the div is in display: none; the button has a jquery script which comes in play OnClientClick.</p>

<p>heres a sample of the HTML:</p>

<pre><code>&lt;asp:Repeater runat="server" ID="rptrPics" OnItemDataBound="rptrPics_ItemDataBound" OnItemCommand="rptrPics_ItemCommand"&gt;
&lt;ItemTemplate&gt;
&lt;asp:Button runat="server" ID="showDiv" OnClientClick="$('div[imageId=' + imageId + ']').slideToggle(); return false; /&gt;
&lt;div runat="server" id="hiddenDiv" style="display: none;"&gt;
SOME CODE
&lt;/div&gt;
&lt;/ItemTemplate&gt;
&lt;/asp:Repeater&gt;
</code></pre>

<p>now the imageId is an Attribute which i set in the repeaterBinder</p>

<pre><code>hiddenDiv.Attributes.Add("imageId", imgData.ProductId.ToString());
 showDiv.Attributes.Add("imageId", imgData.ProductId.ToString());
</code></pre>

<p>nothing seems to work need advices.</p>
