Firing JavaScript Function On clicking On Image

Sandhyab
Posted by Sandhyab under JavaScript category on | Points: 40 | Views : 906
<asp:Image runat="server" onclick="Click()" ID="img1" AlternateText="Image.jpg" ImageUrl="image.jpeg" />

<script language="javascript" type="text/javascript">
function Click() {
alert("U clicked On Image");
}
</script>

Comments or Responses

Login to post response