Here is the rest of my problem http://jsfiddle.net/WsFyV/7/ Choose any option from the first. and then click "Add." The select element is cloned, but with the value selected in the first, My main problem is that you cannot select any other option in the new select element. Am I doing something wrong?
I have a fix.
$.uniform.update("select");
did the trick. http://jsfiddle.net/broncha/WsFyV/34/ theres fix on select onchange element :) thanks guys
. , , , - .
, $.uniform.update("selector") $('selector').uniform() .
$.uniform.update("selector")
$('selector').uniform()
, , .selector select :
// clonedObject is a jQuery object containing our cloned select clonedObject.closest('.selector').replaceWith(clonedObject); clonedObject.uniform();
, - .