Answers

Question and Answer:

  Home  Expert JavaScript Developer

⟩ How to get contents of an input box using JavaScript?

Use the "value" property.

var myValue = window.document.getElementById("MyTextBox").value;

 194 views

More Questions for you: