jquery post data into an iframe from textarea live code example
Example: jquery post data into an iframe from textarea live
$("textarea").on('change keyup paste', function(){
$("iframe").contents().find("html").html($("id, class or div").val())
})