20 lines
444 B
HTML
20 lines
444 B
HTML
<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" />
|
|
</form>
|
|
</body>
|
|
</html>
|