$(function () { $("#my_image").bind("click", function() { $("#my_image").attr("src","second.jpg"); }); });
document[img_name].src = img_src;
<asp:ImageButton runat="server" ImageUrl="SomeImage.gif" OnClick="Image1_Click"/>
Protected void Image1_Click(ObjectSender, ImageClickEventArgs e) { Image1.ImageUrl="NewImage.gif"; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)