Hello Artzone,

It's my first reply , I'm so excited .....

I try this with you example and it work .....
You could change #mylist with and other 'id' it will work also. It
work with a  'id' , but with
a 'class' you have to change the code.

$(document).ready( function(){
        var a = new Array();
        $("#mylist").children("option").each(function(x){
                test = false;
                b = a[x] = $(this).val();
                for (i=0;i<a.length-1;i++){
                        if (b ==a[i]) test =true;
                }
                if (test) $(this).remove();
        })
});

Have a nice day ...

Reply via email to