I am using jQuery clone
to clone parts of a form and restore to their original state (saved in the clone) if the user decides to "cancel".
My clone code looks like this:
$(filterSec).find("select option:selected").attr("selected", true); // clone doesn't save user selections
savedFilterSec = filterSec.clone(true);
And the code to restore:
$('.openFilter').replaceWith(savedFilterSec);
This works for most of my form. The problem is that I have some jqxListBoxes that are restored to their original state when the user cancels, but no longer work - I can no longer select anything (or drag and drop, which I set up using jqxdragdrop). Is there some functionality that is not being cloned? How can I reactivate the list boxes after the "rollback"?
Edit:
This seems to be a problem with all jqxWidgets, not just the list box.