js頁面跳轉並傳遞參數

從頁面a跳轉至頁面b並攜帶參數 function open_details(id){ window.location.href="/zp/happ/postDetails/postDetails.html?job_id="+id; } 在頁面b獲取數據來源以及各項參數值 要獲取到你傳過來的數據,可以通過數組paValue[index]的方式獲取參數,比如上面我傳過來了job_id一個參數,那麼pa
相關文章
相關標籤/搜索