I have the following structure.
Hello World !!
$('#myiframe').contents().find('html').html(s);
you can check from here http://jsfiddle.net/Y9beh/