jQuery.remove() - Is there a way to get the object back after you remove it?

Posted by Jack Marchetti on Stack Overflow See other posts from Stack Overflow or by Jack Marchetti
Published on 2010-04-30T21:19:09Z Indexed on 2010/04/30 21:27 UTC
Read the original article Hit count: 88

Filed under:
|

I basically have the same problem in this questions:

Flash Video still playing in hidden div

I've used the .remove jquery call and this works. However, I have previous/next buttons when a user scrolls through hidden/non-hidden divs. What I need to know is, once I remove the flash object, is there a way to get it back other than refreshing the page?

Basically, can this be handled client side or am I going to need to implement some server side handling.

detach() won't work because the flash video continues to play.

I can't just hide it because the video continues to play as well.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about remove