Very cool. Thanks very much, Ben.

On Dec 23, 12:35 am, "ben.hollis" <ben.hol...@gmail.com> wrote:
> Try something like this:
>
> $('option', mySelect).map(function() {
>     return $(this).text();
>
> }).get();
>
> That'll go over every option in your select, grab the text, and then
> use get() to get a normal array out of it.
>
> On Dec 22, 11:47 pm, Vik <v...@mindspring.com> wrote:
>
> > Is there a way to extract the text of all the items included in a
> > dropdown menu, into an array?
>
> > Thanks in advance to all for any info.

Reply via email to