What do you want from the options ? the value ? as in: <input
value="value1, value2, value3" .... ?
If that's what you want, you can do:

$('#text').get(0).value = $('select option').map(function( i, op ){
     return op.value;
}).join(', ');

Ariel Flesler

On Nov 20, 8:41 pm, Wizzud <[EMAIL PROTECTED]> wrote:
> The literal answer would be $('#TheSelect').html() but I suspect that
> is not what you're after.
>
> Do you have a sample of the select's HTML, and the required result of
> the concatenation (given that sample)?
>
> On Nov 20, 4:22 pm, guix69 <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello, I guess the title says it all           :)
>
> > I have a SELECT which I manipulate thanks to this plugin 
> > (http://www.texotela.co.uk/code/jquery/select/)
> > and I would like to concatenate its OPTIONs into a text field when I
> > click on a button. How can I do that ?
>
> > Thanks a lot for your help !
> > G.- Hide quoted text -
>
> - Show quoted text -

Reply via email to