<%@ Page Language=VB Debug=true %>
<script runat=server>
Sub SubmitBtn_Click(Source As Object, _
E as ImageClickEventArgs)
MyMessage.InnerHTML = "Hello " & YourName.Value
End Sub
</SCRIPT>
<HTML>
<HEAD>
<TITLE>Using the HTMLInputImage Control</TITLE>
</HEAD>
<BODY>
<form runat="server">
<span
id="MyMessage"
runat=server
>
</span>
<BR>
Name: <BR>
<input
id="YourName"
runat="server"
type="text"
>
<BR>
<BR><BR>
<input
id="ImageButton1"
runat="server"
type="image"
src="http://www.java2java.com/style/download.png"
onserverclick="SubmitBtn_Click"
>
</Form>
</BODY>
</HTML>
|