//刷新父页面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); }}
本文共 334 字,大约阅读时间需要 1 分钟。
//刷新父页面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); }}
转载于:https://www.cnblogs.com/lishupeng/p/10460769.html