This will put all selects (just selected values, no names) into textarea... var s = $('select').serializeArray(), t = []; $.each(s,function(n,v){ t[t.length]=v.value; }); $('textarea').val(t.join('\n'));
FrankTudor wrote: > > > Hi all, > > I am creating a little tool that has two multiple select boxes and > then a text area. I need to figure out how to take the selected > conets of one box, or the other, or both and pop them to the textarea. > > If there are no examples can someone tell me what dom or events I need > to be looking at? > > > -- View this message in context: http://www.nabble.com/multiple-select-box-to-textarea-tf4469504s15494.html#a12751333 Sent from the JQuery mailing list archive at Nabble.com.