in JavaScript by
Q:
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

+1 vote
asked Dec 4, 2019 in JavaScript by SakshiSharma
0 votes
asked Sep 19 in JavaScript by sharadyadav1986
...