Forum : How to get the contents of an input box using Javascript?
Brief description  about Online courses   join in Online courses
View Arun  Desai 's Profile

How to get the contents of an input box using Javascript?

How to get the contents of an input box using Javascript?
Asked by Arun Desai | Mar 22, 2010 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
Hi Arun,
Use the "value" property.
var myValue = window.document.getElementById("MyTextBox").value;
Mar 22, 2010