标签:
jQuery如何去判断页面是否有父页面?
是要判断当前页面是否被嵌入在frame里吗?
if
(top != self) {
alert(
‘我在框架里‘
);
}
原文地址:http://www.cnblogs.com/love540376/p/5593770.html