Remove a dom element from the document, but save it as a variable?
- by Matrym
Is there a way to remove a dom element from the document, but save it as a variable? I'm guessing I have to save the clone as a var, and then remove the original?
Also, would such a technique store styles etc?