<html>
<head>
<script type="text/javascript">
function alertValue()
{
alert(document.getElementById("submit1").value)
}
</script>
</head>
<body>
<form>
<input type="submit" value="submit values" id="submit1"
onclick="alertValue()" />
</form>
</body>
</html>
|