tags:

views:

22

answers:

0

Hello,

I have a dual list box, named "source" and "target". In some point I reload the content of the source list box like this :

$('.sourceSelect').find('option').remove().end().append(msg);

the content of msg is <option>...</option>

I'd like add in the source list only the option put in the target.

Sample, the source as Group1,Group2 and Group3 .. via a button I transfert the Group3 in target. When I reload the source, I'd like have only Group1 and Group2

Any idea ?