<table class="text">
<tr class="li1"><td class="ln"><pre class="de1">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 链接,第二个fram获取链接参数 代码如下: 跳转:var location = '/manage/content/***/index?moduleType='+Enums.PAGE_SPECIAL_MODULE_TYPE.OLD_SPECIAL; dataIframe.openIframe(location); 获取:util.getUrlParam('moduleType') getUrlParam:function (key) { var reg = new RegExp("(^|&)" + key + "=([^&]*)(&|$)","i"); var r = window.location.search.substr(1).match(reg); if (r != null) return unescape(r[2]); return null; } "openIframe" : function(url){ var iframe = ''; var iframes = $('iframe',window.top.frames['contentFrame'].document); if (iframes.length > 0) { iframes.last().hide().after(iframe); } else { $('body',window.top.frames['contentFrame'].document).hide().after( iframe); } } 原文链接:/note/421732.html