Yes. I see, but my question is how can check ALL options.
With classical dom, i can do this:
me=document.getElementById('subselect');
for(var i = 0;i < me.length;i++) {
if(me.options[i].selected == true){
}
}
But, with jquery?
Giro.
-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre
de Peter Bengtsson
Enviado el: jueves, 25 de enero de 2007 10:21
Para: jQuery Discussion.
Asunto: Re: [jQuery] Select Box
Consider this plugin
http://www.texotela.co.uk/code/jquery/select/
You can do stuff like
$("#myselect").selectOptions("Value");
David Gironella wrote:
> I have a multiple selection select. I can use jquery to check which
> options are selected?
>
>
>
> Some example?
>
>
>
> Thk.
>
> Giro.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que esta limpio.
For all your IT requirements visit: http://www.transtec.co.uk
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/