Dan,

I tried that first and it didn't work.  If I set the size to anything
other than 1, the list box appears with no values in it.

Jason

>>> [EMAIL PROTECTED] 08/16/05 5:40 PM >>>
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.
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215398
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

Reply via email to