clone(true) launches error
Hi,
I'm stuck into a curious problem. I have a function linked to a click event in an HTML button. Inside this function, another method is called, which uses an array with a prototype method for removing elements from an array (
Array Remove - By John Resig (MIT Licensed)).
When I make a clone(true) of the HTML section where the button is contained, I get following error in FF 3.6.12:
"this.slice is not a function".
In Chrome 7 I get:
"Uncaught TypeError: Object #<an HTMLDivElement> has no method 'slice'"
If I either remove this JavaScript array extension, or do clone() instead of clone(true), it works ok.
Any clue?
Regards,
David