Groups | Blog | Home
all groups > dotnet jscript > october 2005 >

dotnet jscript : image id


Raul Macias
10/6/2005 8:45:15 AM
There are several ways to do it. On is to just add an onClick handler to the
button on the server-side (code behind file) like:

img.Attributes.Add("onClick", "this.src='newImage.gif'");

[quoted text, click to view]

vrsanaidu
10/6/2005 9:01:46 AM
i have imagebutton in html with id. when i click that image button i want to
change that image , code in javascript. image button in asp.net image
button
any one help me.


thx

AddThis Social Bookmark Button