我似乎无法获得允许打开新窗口而不是保持在当前窗口内的代码。代码:
<p class="payment_module">
<a href="javascript:void(0)" onclick="$('#paypal_payment_form').submit();" id="paypal_process_payment" title="{l s='Pay with PayPal' mod='paypal'}">
{if isset($use_mobile) && $use_mobile}
<img src="{$base_dir_ssl}modules/paypal/img/logos/express_checkout_mobile/CO_{$PayPal_lang_code}_orange_295x43.png" />
{else}
{if isset($logos.LocalPayPalHorizontalSolutionPP) && $PayPal_payment_method == $PayPal_integral}
<img src="{$logos.LocalPayPalHorizontalSolutionPP}" alt="{$PayPal_content.payment_choice}" height="48px" />
{else}
<img src="{$logos.LocalPayPalLogoMedium}" alt="{$PayPal_content.payment_choice}" />
{/if}
{$PayPal_content.payment_choice}
{/if}
</a>
答案 0 :(得分:0)
您提交的表单是否具有target = _blank?