Home     My Faqts     Contributors     About     Help    

faqts : Computers : Programming : Languages : JavaScript : DHTML

FAQTs repaired & updated!
Thanks for your patience...
Entry Add Entry Alert - Edit this Entry

Did You Find This Entry Useful?

How can i dinamically store a set of inputboxs' names in a variable?

Mar 21st, 2005 14:11

Ginger Black


I wanna call a set of input boxes from within a specific method.
My method focus's on the next inputBox whenever the user inputs two 
integer values, and again in the other input box it should focus on 
the next one whenever the user inputs other two integer values... and 
so on
But I don't want to use seperate methods for all these inputBoxes 
(just because I have to use the name of the element I want to focus on)
Help me!
And in another method I'm trying to focus on a specific inputBox 
whenever the user presses the TAB key, and again I want to use this 
method for all the inputBoxes I have.
So, is there a way to store these input boxes names in a dinamically 
produced variable and call a specific one among them?



© 1999-2004 Synop Pty Ltd