[問題] Chrome,Firefox都能用的回上一頁存值方法

看板Ajax作者 (BrianShaw)時間8年前 (2016/01/05 13:14), 編輯推噓2(200)
留言2則, 2人參與, 最新討論串1/1
想請問有沒有方法能夠用在Chrome,Firefox 使用history.back(); 回上一頁 還能夠保存值的? 目前只有IE有作用 Chrome,Firefox的值都會不見... -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 42.73.182.197 ※ 文章網址: https://www.ptt.cc/bbs/Ajax/M.1451970889.A.BC7.html

01/05 14:18, , 1F
window.history.go(-1); 這個可以嗎?
01/05 14:18, 1F

01/05 15:29, , 2F
history pushState?
01/05 15:29, 2F
文章代碼(AID): #1MYr59l7 (Ajax)