[jQuery] .clone not work in FF or IE, please help

[jQuery] .clone not work in FF or IE, please help


my code:
var append_to = self.element.children('.cr_tab_content');
var clone_element = self.element.children('#' + id).clone(true)
$(clone_element).appendTo(append_to);
When I do this my element is still empty but should be filled with the
cloned element
var append_to = self.element.children('.cr_tab_content');
var clone_element = self.element.children('#' + id).clone(true)
$(append_to).append(element.html());
work fine but I want to make sure and events are carried over. any help
please?
--
View this message in context: http://www.nabble.com/.clone-not-work-in-FF-or-IE%2C-please-help-tp15160495s27240p15160495.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.