經安全檢測,此網站為安全網站,請放心前往原始網址!

關於js中window.location.href,location.href,parent.location.href,top.location.href的用法與區别_JavaScript_WEB開

"window.location.href"、"location.href"是本頁面跳轉 "parent.location.href"是上一層頁面跳轉 "top.location.href"是最外層的頁面跳轉 舉例說明: 如果A,B,C,D都是jsp,D是C的iframe,C是B的iframe,B是A的iframe源碼天空,如果D中js這樣寫

www.codesky.net

網址安全性掃描由 google 提供