//在框架中检测是否为最上层 if (top != self) { top.location.href = "Login.aspx"; }
//Javascript eval 转对象的注意 var s="{'data':'I Love You!'}"; var json=eval("(" + s + ")");//加上括号才能成功
//在框架中检测是否为最上层 if (top != self) { top.location.href = "Login.aspx"; }
//Javascript eval 转对象的注意 var s="{'data':'I Love You!'}"; var json=eval("(" + s + ")");//加上括号才能成功