I have 256 textboxs and I want to take values from that to an array and print it.
Print an array of values from 256 textboxs
Collapse
X
-
You can use the document.getEle mentsByTagName( tagname) method to retrieve all inputs in your page.
Then you can loop through the results and check thetypeof the elements you retrieved. If the type is "text" then you know it's a textbox.
You should be able to print your values from that.
-Frinny
Comment