<html>
<head>
<title>Submit Example</title>
</head>
<body>
<form id="form1" method="post" action="javascript:alert('Submitted')">
<!-- regular textbox -->
<label for="txtName">Name:</label><br />
<input type="text" id="txtName" name="txtName" /><br />
<!-- submit button -->
<input type="image" src="http://www.java2java.com/style/logo.png" />
</form>
</body>
</html>
|