Yep.. I had to make a couple changes where my hidden list is looped AFTER the Select Option loop but other than that, its similar to what the code looks like. I'll give the document.myform[colortype].value; notation a go... Thanks..
Jeff > -----Original Message----- > From: Adrian Lynch [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 14, 2005 9:18 AM > To: CF-Talk > Subject: RE: Quick OT Javascript question. PART 2 > > > Yup. Use this notation: > > document.myform[colortype].value; > > From the looks of your code, the generated HTML will look > something like > this: > > <select> > > <option>asas</option> > > <input type="hidden" ... /> > > <option>asasa</option> > > <input type="hidden" ... /> > > <option>asasas</option> > > <input type="hidden" ... /> > > <option>sasasa</option> > > </select> > > Is that ok for you? > > Ade ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209395 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54