How to remove the selected element during a clone() operation
- by Slinky
Hi All,
I have a select box that gets cloned. I want to remove the user's previous selection from each cloned select box. Here is the method that does the clone() :
function addselect(s){
$('#product_categories > .category_block:last').after(
$('#product_categories > .category_block:last').clone()
); set_add_delete_links(); return false;
}
What's the best way to do this?