I have a simple question - is it even possible to get element's HTML with styles from DOM? I don't need any jQuery object, just plain HTML with all styles.
I would use it in case were I have grid with different styles across rows and I would like to get that html and styles and sent it to server where I would use it in a mail body - programatically ofcourse.
Is there an elegant way to do that?
Tnx for answers
Lorem ipsum
and not just Lorem ipsum – Sobis Aug 01 '12 at 11:54Lorem ipsum
– Sobis Aug 01 '12 at 12:03').parent().html();`, that will preserve all the classes and the parent element. To move the actual text of the CSS is a different question, but it's still doable.
– Ben Parsons Aug 01 '12 at 12:09