//打开子页面 var url=children_url;window.open(url) //刷新parent页面 var url=parent_urlfunction refresh(url){ if(window.opener){ if(window.opener.reload){ try{ window.opener.reload(); }catch(e){} } w
//刷新父页面 function reflashParent() { var id = parent.tabbar.getActiveTab(); id = id.replace('tab','mainArea') try{ var f = parent.$('#'+id).children('iframe'); var src = f.attr('src'); f.attr('src',src); }catch(ex){ // alert(ex.message); } }