SELECT & Multiple

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

SELECT & Multiple

Post by alex.barylski »

Is there a propery that I can query which will tell me how many items are selected in a multiple SELECT???

selectedIndex does not yield the right info...obviously, but I can't find the property for multiples??? Do I have to iterate the list first adding up how many are selected???

Cheers :)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

iterate. :)
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

feyd wrote:iterate. :)
Thats what I ended up doing...

Kinda stupid though, that they wouldn't have a property for that.. :?

Ah well...

Cheers :)
Post Reply