jQuery ColorPicker | Add/remove elements dynamically

jQuery ColorPicker | Add/remove elements dynamically

Hi all,

I'am using the jQuery ColorPicker from: http://www.eyecon.ro/colorpicker/ which is VERY nice and works perfect but my problem is I need to add/remove elements dynamically from/to the existing function. E.g. I have:

$('#field1, #field2').ColorPicker({
...........
});

Now I need to dynamically add new elements over a js function to the existing elements with a function like:

function AddNewElements() {
     for (var i=0;i<=something.length;i++) {
        $('#newfield'+i).addElement(.ColorPicker);
     }
}   

that it looks new like

$('#field1, #field2, #newfield1, #newfield2, #newfield3').ColorPicker({
...........
});

I'am also looking for a way to remove elements from existing ColorPicker elements? Is there a way to remove elements dynamically like:

function RemoveElements() {
   $('#newfield3').removeElement(.ColorPicker);
   $('#newfield2').removeElement(.ColorPicker);
}  

That I get:

$('#field1, #field2, #newfield1').ColorPicker({
...........
});

Is there a way to do that? Has anyone a hint or link how to do that? Please help.

Kind regards,
Dave