PHP按鈕添加一個跳轉鏈接?
<inputtype="button"onclick="window.location.href='login.php'"value="點擊跳轉">直接在按鈕使用onclick="window.location.href='要跳轉的網(wǎng)站'"例如:<inputtype="button"value="跳轉"onclick="window.location.href='a.php'"/>或者是使用一個點擊函數(shù)傳入值:<inputtype="button"value="跳轉"onclick="tiao('a.php')"/><scripttype="text/javascript">functiontiao(urls){window.location.href=urls;//根據(jù)傳過來的地址跳轉}</script>