1.

How To Get The Contents Of An Input Box Using Javascript?

Answer»

USE the "VALUE" PROPERTY
VAR myValue = window.document.getElementById("MyTextBox").value;

 

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

 



Discussion

No Comment Found