Ian, For each click, you have to maintain a list of items... Something like (pseudo code).
Create a variable for the value list (ex. 1, 2, 39, 4, 40 == values of options selected). On click of select: 1. Check to see if the option value exists in the list (ex. valueList.indexOf( ...value )) 2. If it exists (we are unselected the value??? I think) 2b. Remove value from the list 3. If it did not exist (we are selecting the value) 3b. Add option value to select list (this is the most recent value). 4. Loop through options of select and set selected to true/false depending on values in the select box. So, its probably not the best and you have to re-highlight the options for each click on theselect, but you will maintain a list of selected items. ....................... Ben Nadel www.bennadel.com -----Original Message----- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 20, 2006 2:19 PM To: CF-Talk Subject: RE: SOT option onClick property Even in a multi-select box, only one element should be selected at any given time (unless someone is holding CTRL+mouse click to highlight multiple items). Are you imagining have multiple options highlighted even after multiple clicks? Yes, I want to capture the options as they are clicked on, even if crtl|shift clicks are used. As posted earlier, this works as desired in FireFox with the option ... onclick property. So I am trying to find an easy work around to have similar functionality for IE. -------------- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA --------- | 1 | | --------- Binary Soduko | | | --------- "C code. C code run. Run code run. Please!" - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244282 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

