Ver Mensaje Individual
  #6 (permalink)  
Antiguo 17/03/2010, 08:07
Dany_s
 
Fecha de Ingreso: diciembre-2009
Ubicación: Misiones
Mensajes: 867
Antigüedad: 14 años, 5 meses
Puntos: 65
Respuesta: como generar select dinamico multiple con jquery......

Código HTML:
    $(function (){
        $("#agregar").click( function (){
            var opts;
            elementos = $("#accesorios option:selected").attr("selected", false);
            elementos.each( function (){
               opts += "<option value="+$(this).val()+">"+$(this).text();
            });
            $("#agregados").html(opts);
        })
    });