[Javascript] Thoughts on building form elements/similar divs

Glenn E. Lanier, II glenn_lanier at netzero.net
Wed Jul 6 17:45:46 CDT 2005


> From: Paul Novitski
> Sent: Wednesday, July 06, 2005 5:14 PM

> - Mark up your document with eight input fields (type="text") 
> for the eight 
> locations, plus just one instance of the select list.
> 
> - Begin with all eight input fields hidden and the select 
> list positioned 
> where the first input field would be if it were showing.

Paul,

I understand the concept, but how could I do this in Javascript?

Starting with something like:
<div id="div1"><input type="text" id="text1"></div>
<div id="div2"><input type="text" id="text2"></div>

<div id="divSelect"><select id="selLargeList"></select></div>


Thanks,
Glenn




More information about the Javascript mailing list