php跳轉(zhuǎn)到指定html PHP怎么實(shí)現(xiàn)一單擊按鈕就跳轉(zhuǎn)到令一個頁面?
PHP怎么實(shí)現(xiàn)一單擊按鈕就跳轉(zhuǎn)到令一個頁面?使用onclick直接點(diǎn)擊按鈕=“window.location.href=“要跳轉(zhuǎn)到”“的站點(diǎn),例如:<input type=”“button”“va
PHP怎么實(shí)現(xiàn)一單擊按鈕就跳轉(zhuǎn)到令一個頁面?
使用onclick直接點(diǎn)擊按鈕=“window.location.href=“要跳轉(zhuǎn)到”“的站點(diǎn),例如:<input type=”“button”“value=”“跳轉(zhuǎn)到”“onclick=”window.location.href=“A.php”/>或使用click函數(shù)傳入值:<input type=“button”value=“jump”onclick=“Tiao(“A.php”)”/><script type=“text/JavaScript”>函數(shù)條(URL){window.location.href=url//跳轉(zhuǎn)到地址}</script>