Files
jps/html/html_form2.html

20 lines
444 B
HTML
Raw Normal View History

2020-02-16 12:40:35 -06:00
<html>
<head>
<!-- You need the javascript alert.js to go with this -->
<script type="text/javascript">
window.onload = function(){
document.getElementById('send').onclick = function(e){
alert(document.getElementById("name").value);
return false;
}
}
</script>
</head>
<body>
<form method="post">
<input type="text" name="name" id="name" />
<input type="submit" name="send" id="send" value="send" />
2020-02-16 11:35:00 -06:00
</form>
2020-02-16 12:40:35 -06:00
</body>
2020-02-16 11:35:00 -06:00
</html>