remove web and small improvements
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Input Field and Button</title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="text" id="myInput">
|
||||
<button type="button" onclick="myFunction()">Submit</button>
|
||||
<script>
|
||||
function myFunction() {
|
||||
var input = document.getElementById("myInput").value;
|
||||
alert("Input value: " + input);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user