javascript方式:window['top'].document.getElementById('huang');jquery方式:$(window.parent.document).find(".title_name").text( );

这都是在ifame框架内里获取top框架的方法