Set value
document.getElementById("textareaID").value = "Test input value.";
Get value
Vanilla JS
document.getElementById("textareaID").value
jQuery
$("#textareaID").val()
document.getElementById("textareaID").value = "Test input value.";
Vanilla JS
document.getElementById("textareaID").value
jQuery
$("#textareaID").val()
Recent Comments