Answers for "input element to value in sjs"

8

set value using javascript

document.getElementById("myText").value = "your string";
Posted by: Guest on August-28-2020
6

get value from textbox in vanilla javascript

document.getElementById("myText").value = "Johnny Bravo";
Posted by: Guest on May-25-2020

Code answers related to "input element to value in sjs"

Browse Popular Code Answers by Language