怎么样给一个按钮加上链接?
<a href=delete.php> <input type= "submit " name=submit value= "删除 "> </a>
这样对吗?我试了不行啊
------解决方案--------------------修改form的action
------解决方案--------------------只要加一句reponse.redirect( "http://www.sina.com.cn ")
------解决方案-------------------- <input type= "submit " name=submit value= "删除 " onClick= "location.href= 'delete.php ' ">
------解决方案--------------------input type= "submit " name=submit value= "删除 " onClick= "location.href= 'delete.php ' ">
正确
------解决方案--------------------直接用 <a href= "delete.php "> 删除(或者用图片 <img> ) </a> 不是最直接?
------解决方案-------------------- <a href= "delete.php "> 删除(或者用图片 <img> ) </a>