【问题标题】:How to make my button shows in the buttom of the page the href?如何让我的按钮在页面底部显示href?
【发布时间】:2018-06-19 15:26:08
【问题描述】:

嗯,我在这个表单上有一个按钮

echo " <td><form action='action.php' method='post'>
        <input type='hidden' id='itemid' name='itemid' value='". $row["name"] ."'/>
            <input type='hidden' id='seller' name='seller' value='". $row["player"] ."'/>
         <input  type='submit' value='Buy'/>
       </form></td>";

这是按钮

             <input  type='submit' value='Buy'/>

是否可以让按钮在页面底部显示为直接链接?

【问题讨论】:

  • 将此表单保留在页面底部
  • 具体在哪里?在什么下?
  • 是否要在页面的页脚部分显示此表单,如果是,请将此表单保留在页脚中
  • 按钮是否移动到页脚?我只移动&lt;form&gt; &lt;/form&gt; 吗?
  • 将整个代码保留在页脚中

标签: php html forms button


【解决方案1】:

这是不可能的。您必须使用&lt;a&gt; 标记,将其设置为按钮并通过Javascript 提交表单。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-05-16
    • 2014-01-13
    • 1970-01-01
    • 1970-01-01
    • 2013-07-06
    • 2015-06-30
    • 1970-01-01
    • 2019-11-09
    相关资源
    最近更新 更多