我在 jqtouch 网站中有一个贝宝按钮,如下所示
<div id="paypal">
<div class="toolbar">
<h5>Pay online</h5>
<a href="#" class="back">Back</a>
</div>
<div class="s-scrollwrapper" >
<div>
<form action="https://www.paypal.com/cgi-bin/webscr"method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="----@-----------">
<input type="hidden" name="item_name" value="Test Item">
<input type="hidden" name="amount" value="1.00">
<input type="hidden" name="currency_code" value="NZD">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="bn"value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHosted">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1"height="1">
</form>
</div>
</div>
</div>
点击贝宝按钮没有任何作用。Firebuging 看到一个post
请求,其结果代码为 ,302
后面跟着一个get
被取消的请求。如果我将按钮放在 jqtouch 之外的页面上,它似乎没有问题。你会怎么解决这个问题?
Chrome 控制台显示以下内容。在非 jqtouch 中,发起者是(other)