Javascript

Topic: JS Window

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

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

Browse random answers: