Moving a component's DOM element with jQuery


#1

Is there any way to move a components html around in the document and still have it wired up correctly?

Is it as simple as

this.$().prependTo(newplace) 

Or is it a little more complicated?

I need to use a plugin that requires that i copy in html with .html() to a container that it creates.