/ Published in: JavaScript
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
the value of a text box defined with the markup <input type="text" name="Name" /> can be accessed using the expression document.forms[0].elements["Name"].value OR <input type="button" onclick="ShowText(this.form);" /> ... ShowText(f){f.elements["Name"].value}
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)