您的位置:首页 > 编程语言

支付宝赞助代码..

2015-09-24 21:03 309 查看
支付宝赞助代码..

一段发起支付到指定支付宝账号,指定金额的代码.

放在网站上,让别人赞助.

[code]<form method="post" accept-charset="utf-8" action="https://shenghuo.alipay.com/send/payment/fill.htm" target="_blank" id="alipay_form">
<input type="hidden" name="optEmail" value="273082449@qq.com">
<input type="hidden" name="title" value="">
<input type="hidden" name="memo" value="">
<input type="hidden" name="isSend" value="">
<input type="hidden" name="smsNo" value="">
<input type="hidden" name="payAmount" value="3" id="payAmount"><input class="_val" style="background: #2873C2;" type="button" onclick="_n(this, 0.1);" value="0.1元">
<input class="_val" style="background: #2873C2;" type="button" onclick="_n(this, 1);" value="1元">
<input class="_val" style="background: #2873C2;" type="button" onclick="_n(this, 3);" value="3元">
<input class="_val" style="background: #2873C2;" type="button" onclick="_n(this, 5);" value="5元">
<input class="_val" style="background: #2873C2;" type="button" onclick="_n(this, 10);" value="10元">
<input class="_val" style="background: #2873C2;" type="button" onclick="_n(this, 50);" value="50元">

<!--
<input class = '_val' style = 'background: #c89ac8;' type = 'button' onclick = '_n(this, 1);' value = '".lang('plugin/nciaer_postreward','je1')."'/>
<input class = '_val' style = 'background: #d3b4d3;' type = 'button' onclick = '_n(this, 3);' value = '".lang('plugin/nciaer_postreward','je3')."'/>
<input class = '_val' style = 'background: #eed7cf;' type = 'button' onclick = '_n(this, 5);' value = '".lang('plugin/nciaer_postreward','je5')."'/>
<input class = '_val' style = 'background: #ca7c6f;' type = 'button' onclick = '_n(this, 10);' value = '".lang('plugin/nciaer_postreward','je10')."'/>
-->
</form>


[code]function _n(o, n) {
   jQuery('#payAmount').val(n);
   jQuery('#alipay_form').submit();
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: