+1 vote
in JavaScript by
How To Get The Contents Of An Input Box Using Javascript?

1 Answer

0 votes
by

Use the "value" property.

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

...