织梦园模板网提供云优cms模板,pbootcms模板,Wordpress主题模板等各类企业新闻资讯网站模板下载服务。织梦园网站模板交流群
用户名:
密码:
注册
注册后享受折扣价

通过form传值给打开的网页

织梦园模板 / 2017-12-15 / 收藏
以之前支付宝为例,可以这么写

<form method="post" action="https://shenghuo.alipay.com/send/payment/fill.htm" target="_blank">
    <span style="float:left;font-size:16px;color:#fff;height:28px;line-height:28px;">给织梦58赞助:</span>
    <input type="hidden" value="meike203@126.com" name="optEmail">
    <input type="number" value="10" name="payAmount" style="width:100px;height:26px;line-height:26px;font-size:16px;float:left;">
    <input type="hidden" name="memo" id="memo" value="">
     <input type="image" value="给我付款" src="source/plugin/cack_zanzhuwomen/template/alipay_blug.png" name="pay" style="float:left;height: 30px;">
</form>

注意红色部分代码。蓝色为传值的金额

相关辅助文档

收缩