i want to copy image from an iframe to div ot to textarea like this jsfiddle.net/purmou/xEtL9/
<textarea rows="10" cols="40" id="content">
</textarea>
<div id="fake">
<iframe width="100%" height="400px" src="http://www.w3schools.com/"></iframe>
</div>
And
$(function(){
$("#fake iframe").click(function(){
var update = $("<div>").append(
$("<iframe>").attr("src", $(this).attr("src"))
).html();
$("#content").val(function( i, v ) {
return v + update;
});
});
});
But for iframe it is not working..Any suggestion??