<textarea rows="5" cols="30" id="txtArea"></textarea>
<input type="button" value="Click here" onclick="getText()" />
function getText() {
var str = document.getElementById("txtArea");
alert(str.value + " i did it");
}
I can see how html , css, javascript works but I would like to know how to save the user input on my website and listed like I am writing this post and saved in the list.
thank you
<input type="button" value="Click here" onclick="getText()" />
function getText() {
var str = document.getElementById("txtArea");
alert(str.value + " i did it");
}
I can see how html , css, javascript works but I would like to know how to save the user input on my website and listed like I am writing this post and saved in the list.
thank you