Hello all,
I've got a Select that appears 32 times in a single form to choose one of 25 options. I'm looking to replace:
with a function call to generate the a drop-down list eliminating pages and pages of identical crap which takes some time to load. I think onFocus() could call this notional function, but have no idea how to return the value to an INPUT tag or similar. I'm leaning toward a text file that get populated by the form on page load, and the value changed by choosing an element from the function's pop up or pull down control.
Yike. I'm an internals guy hacking Web code. Scary. :-)
Thanks!
-G
I've got a Select that appears 32 times in a single form to choose one of 25 options. I'm looking to replace:
Code:
<select name="name"> <option selected value="1"></option> <option value="2"></option> . . . <option value="25"></option> </select>
with a function call to generate the a drop-down list eliminating pages and pages of identical crap which takes some time to load. I think onFocus() could call this notional function, but have no idea how to return the value to an INPUT tag or similar. I'm leaning toward a text file that get populated by the form on page load, and the value changed by choosing an element from the function's pop up or pull down control.
Yike. I'm an internals guy hacking Web code. Scary. :-)
Thanks!
-G
Comment