JavaScript General - How to get the contents of an input box using JavaScript?
Interview Question Database For Software Developers
|
|
| How to get the contents of an input box using JavaScript? | | How to get the contents of an input box using JavaScript? | | By: |
Use the "value" property of the input box object. For example:
var myValue = window.document.getElementById("MyTextBox").value;
| | ID: 2125 | Rank: 287 | Votes: 0 | Views: 75 | Submitted: 20080812 |
Copyright © 2008 FYIcenter.com
All rights in the contents of this Website are reserved by the individual author.
No part of the contents may be reproduced in any form without author's permission.
|
|
|