php跳轉到指定html PHP怎么實現(xiàn)一單擊按鈕就跳轉到令一個頁面?
PHP怎么實現(xiàn)一單擊按鈕就跳轉到令一個頁面?使用onclick直接點擊按鈕=“window.location.href=“要跳轉到”“的站點,例如:<input type=”“button”“va
PHP怎么實現(xiàn)一單擊按鈕就跳轉到令一個頁面?
使用onclick直接點擊按鈕=“window.location.href=“要跳轉到”“的站點,例如:<input type=”“button”“value=”“跳轉到”“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//跳轉到地址}</script>