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

2008-01-30 Thread Brandon Aaron
jQuery.clone(true) will only clone the events that it knows about ... in other words ... it clones the events it bound. -- Brandon Aaron On Jan 29, 10:35 am, chrismarx <[EMAIL PROTECTED]> wrote: > should clone also work for behaviors that were not added by jquery? > (like a google map?) i tried

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

2008-01-30 Thread Brandon Aaron
What version of jQuery are you using? Are you getting an error message? Are you trying to clone a table row? jQuery 1.2.2 has a known issue with cloning a table row and a few other elements. The current SVN and jQuery 1.2.3a resolves this issue. Please try using jQuery 1.2.3a to see if that resolv

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

2008-01-29 Thread Eridius
you said your code copied the element correctly, but mine is not. do you see anything wrong with my code that would make my element it should be coping to data empty? chrismarx wrote: > > > should clone also work for behaviors that were not added by jquery? > (like a google map?) i tried to

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

2008-01-29 Thread chrismarx
should clone also work for behaviors that were not added by jquery? (like a google map?) i tried to clone a div with a google map, and although clone successfully copied all the elements, the behaviors were lost. append did the job for a workaround. should clone(true) be able to also grab all the