HTML InputImage

asp.net html 控件 

html inputimage

<script  runat="server">
sub submit(source as object, e as eventargs)
      hidden1.value=string1.value
      p1.innerhtml="hidden value= " + hidden1.value
end sub
</script>


<!doctype html>
<html>
<body>

<form runat="server">
enter some text: <input id="string1" type="text" size="25" runat="server" />
<input type="submit" value="submit" onserverclick="submit" runat="server" />
<input id="hidden1" type="hidden" runat="server" />
<p id="p1" runat="server" />
</form>

</body>
</html>

相关文章