Duh... good point -----Original Message----- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 16, 2005 5:41 PM To: CF-Talk Subject: RE: N-Selects Related
Jason, Don't set the multiple attribute--just set the "size" attribute to something like 10. The "multiple" attribute allows multiple items to be selected, the size attribute controls how big the box is. The code is designed w/the expectation that the selectedIndex will have a non-negative value (which a single select element always does.) A multiple select box defaults to having a negative selectedIndex. -Dan >-----Original Message----- >From: Jason Brown [mailto:[EMAIL PROTECTED] >Sent: Tuesday, August 16, 2005 8:47 AM >To: CF-Talk >Subject: N-Selects Related > >I went out to PengoWorks.com > >http://www.pengoworks.com/workshop/js/gateway/index.cfm#downloads > >and downloaded their N-Selects Related code. The code works great and >my page is functioning perfectly. However, rather than having drop-down >lists I would like Menu lists (display all objects without needing to >click a drop-down button). The problem is that when I convert the >drop-down lists to Menu lists they no longer work. There are four files >that make this code work: > >gateway.js >nRelatedSelect.htm >nRelatedSelect_gw.cfm >zipcodes.mdb > >Can anyone tell me how to correct this issue so I can convert the >drop-down lists to menu lists? > >Thanks. > > >********************************************************** >Electronic Mail is not secure, may not be read every day, and should not be >used for urgent or sensitive issues. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215331 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

