I see what you are after. Javascript is not my strongest point. I know how you can save it to mySQL.
Create form in your script:
<form name="lomake" action="test.php" method="post">
<input type="hidden" name="sisalto">
</form>
Then in your javascript-function save:
function Save()
{
document.lomake.sisalto.value="" + idContent.document.body.innerHTML;
alert("" + idContent.document.body.innerHTML);
document.lomake.submit();
}
Now when you push "tallenna" it submits the form to test.php where you can insert $_POST['sisalto'] to your DB.
As I said, javascript isnt my strongest point, so someone else can figure out how to print fetched data to iframe.