我想知道如何在不更改 HTML 代码的情况下触发 Javascript 中的第三个 onclick。我试过 runCMConversionEventTag(); 但没有运气。
<div id="cartAction_bottom">
<a href="javascript:continueShoppingLink();" onclick="return runCMConversionEventTag({conversionCategory: 'Shopping Cart', conversionEvent: 'Continue Shopping'})"><img src="http://www.footlocker.com/images/fl/shoppingcart/continue_shopping.jpg" alt="Continue Shopping"></a>
<a href="javascript:inventoryCheck_panel.open();" onclick="return shopcartCheckoutButtonPress({conversionCategory: 'Shopping Cart', conversionEvent: 'Checkout'})"><img src="http://www.footlocker.com/images/fl/shoppingcart/checkout.jpg" alt="Checkout"></a>
<div class="centered">or</div>
<a href="javascript:inventoryCheck_panel.open('paypalexpress');" onclick="return runCMConversionEventTag({conversionCategory: 'Shopping Cart', conversionEvent: 'PayPal Checkout'})"><img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" alt="PayPal Checkout"></a>
<p>
</p></div>