On Feb 25, 6:55 pm, Bluesapphire <michealg...@gmail.com> wrote:
> Hi!
>     How can i check that atleast one option is selected in multiselect
> listbox. How can this be done through JQUERY.

I guess you want to see if at least one option in a multiple select
element is selected.  Look at its selectedIndex attribute. If no
option is selected, the selectedIndex == -1.

It's useful to read the relevant specification:

<URL: http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-85676760 >


--
Rob

Reply via email to