Holen Sie sich einen Wert aus dem Textfeld in Vanille JavaScript

document.getElementById("myText").value = "Johnny Bravo";
Wandering Wolf