Jquery - return html as a string
- by McNabbToSkins
I am using the Jquery Wysiwyg editor and I am trying to capture the html that makes up the content area to store in a DB. Is there anyway to get html of a element and save it as a string? My code looks like tihs
<iframe id="wysiwyg_IFrame>
<html>
<head></head>
<body>
<ul>
<li>This is a test</li>
</ul>
</body>
</html>
</iframe>
I would either like to get a string that starts with <html>....</html> or just the body <body>...</body> does anyone know if this is possible? Thanks