Difference between revisions of "2026"

From Wikispooks
Jump to navigation Jump to search
(Created page with "{{year |image= |image_width= |image_caption= }} {{SMWDocs}} {{Stub}}")
 
m (test page)
Line 5: Line 5:
 
}}
 
}}
 
{{SMWDocs}}
 
{{SMWDocs}}
 +
 +
 +
<html>
 +
<body>
 +
<h2>DelftStack learning</h2>
 +
<h3>JavaScript comment box example</h3>
 +
<form id="myForm">
 +
Full name: <input id="userName" type="text" name="fname">
 +
<br><br>
 +
Email : <input id="userEmail" type="text" name="email">
 +
<br><br>
 +
<textarea id ="userComment" rows="4" cols="50" name="comment"> Enter comment here...</textarea>
 +
<br><br>
 +
<input type="button" onclick="myFunction()" value="Submit">
 +
</form>
 +
<h5>Submitted data :</h5>
 +
<p id="data"></p>
 +
<script>
 +
function myFunction(){
 +
let data = "";  let name = document.getElementById("userName").value
 +
let email = document.getElementById("userEmail").value
 +
let comment = document.getElementById("userComment").value
 +
 +
data = "User name : "+name+"<br/>User email : "+email+ "<br/>User comment : "+comment
 +
 +
document.getElementById("data").innerHTML = data  // display data to paragraph
 +
}
 +
</script>
 +
</body>
 +
</html>
 +
 +
 
{{Stub}}
 
{{Stub}}

Revision as of 01:01, 5 June 2024

2016 < 2017 < 2018 < 2019 < 2020 < 2021 < 2022 <2023 < 2024 < 2025 < 2026 > 2027 > 2028 > 2029 > 2030 > 2031 > 2032 > 2033 > 2034 > 2035 > 2036

Decade.png 2020s: )    Year.png 2026 Rdf-entity.pngRdf-icon.png

Many thanks to our Patrons who cover ~2/3 of our hosting bill. Please join them if you can.



DelftStack learning

JavaScript comment box example

Full name:

Email :



Submitted data :


57px-Notepad icon.png This is a page stub. Please add to it.