gotcha.

off the top of my head i'd guess you would need to store the values
from the previous "onchange" and compare then to the values of the
current "onchange" to see which element is different (either added or
removed) to determine the last one clicked.

there may be something more elegant...but the more elegant solution
escapes me at the moment.

On 6/20/06, Ian Skinner <[EMAIL PROTECTED]> wrote:
> why would you not use onchange in the <select> element?
>
> I want some action to occur when an option is clicked on in a multi-select 
> control.  So if you select three options the action happens three times.  I 
> may be able to do this in the onChange on the select if I knew how to 
> determine the last option clicked on rather then the first or last option 
> selected in the list.
>
>
> --------------
> 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:244273
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