js和jquery實現頁面跳轉的幾種方式

js跳轉方式 一、在原有的頁面跳轉html window.location.href='b.html' 二、在原有的頁面返回上一個頁面web window.history.back(-1) 三、在原有的頁面跳轉到b頁面(只適用於ie)svg window.navigate('b.html') 四、跳轉到b頁面code self.location.href='b.html' 從字面上就能夠理解到 w
相關文章
相關標籤/搜索