[jQuery] Clone problem in IE...
I have a frame within a window, and I have a form inside that frame.
When I use clone on the FILE INPUT in that frame, it will not clone in
IE.
(obviously it works fine in FF3, as most things do)
I looked at the code, and I think I know why.
Because the clone command only reference the outside document (as in
container = document.createElement("div"))
It tried to copy the form element (in this case a file input) from
inside the iframe to the outside document object, which isn't allowed
in IE.
Is there a way for me to change the code, so that it isn't referencing
the outside DOCUMENT, but instead clones based on whatever the current
active document object is.
Something like "this.document" (I know thats not the command, but I
don't know how to get the current document object) instead of using
"document."
That way, the reference would always be local to whatever the active
document object is, not the parent.
Thanks
Marcus