Right, that's good for getting ALL of the selected options, but what about the ONE item that was just clicked?

Linden, Todd wrote:

I think I've done this in the past and can't remember EXACTLY how I had
done it but you have to loop through the options to see if they are
selected.

I found this code on the net. Maybe it'll help...
var so = document.Form.select1; selectedOptions = new Array();
for (var i=0; i < so.length; i++){ if (so.options[i].selected)
{
selectedOptions[i] = so.options[i].value;
} }


HTH

- Todd

-- :::::::::::::::::::::::::::::: Howard Cheng http://www.howcheng.com/ Wise-cracking quote goes here.

____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub


________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.



Reply via email to