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;

Related questions

0 votes
asked Oct 10 in JavaScript by DavidAnderson
0 votes
asked Sep 20, 2021 in JavaScript by sharadyadav1986
0 votes
asked Oct 8 in JavaScript by JackTerrance
...