I have the following structure.
Hello World !!
You need -
var $frame = $('myiframe'); setTimeout( function() { var doc = $frame[0].contentWindow.document; var $body = $('body',doc); $body.html('Test_Div'); }, 1 );
Code taken from - putting html inside an iframe (using javascript)