Help with javascript and user control
<p>I Have user comtrol with image button dynamically entered into the Page.
 I want to get his ID in jquery or javascript to enlarge the image, but it always  enlarge only the last image, this is the  code,
 Thanks in advance!</p>

<pre><code>function moveover() {
    document.getElementById('&lt;% = ImageButton1.ClientID %&gt;').height = "360";
    document.getElementById('&lt;% = ImageButton1.ClientID %&gt;').width = "200";

}
function moveback() {
    document.getElementById('&lt;% = ImageButton1.ClientID %&gt;').height = "130";
    document.getElementById('&lt;% = ImageButton1.ClientID %&gt;').width = "100";
     }
</code></pre>

<p>this is the page </p>

<pre><code> foreach (DataRow p in ds.Tables["Products"].Rows)
    {
        ASP.product_control_ascx prod = new ASP.product_control_ascx();
        Panel1.Controls.Add(prod);
        prod.Old_price = p["Regular_price"].ToString();
        prod.new_price = p["Your_price"].ToString();
        prod.watch_pic = p["Product_imag"].ToString();
        prod.rr = "~/ProductPage.aspx?Select_prod=" + p["Product_id"].ToString(); ;
    }
</code></pre>

<p>Even if someone has a code increases picture nicely?</p>
