File: public/js/mbj-button.js

Recommend this page to a friend!
  Classes of mbjwebdevelopment  >  All in One PayPal WooCommerce Plugin  >  public/js/mbj-button.js  >  Download  
File: public/js/mbj-button.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: All in One PayPal WooCommerce Plugin
Paypal payment plugin for Woocommerce
Author: By
Last change:
Date: 5 years ago
Size: 500 bytes
 

Contents

Class file image Download
jQuery(document).ready(function ($){
    $("#paypal_ec_button_product input").click(function(){
        var paypal_express_action = $(this).data('action');
        $('form.cart').attr( 'action', paypal_express_action );
        $(this).attr('disabled', 'disabled');
        $('form.cart').submit();
        $(".paypal_expressOverlay").show();
        return false;
    });
    $(".paypal_checkout_button").click(function(){
        $(".paypal_expressOverlay").show();
        return true;
    });
});

For more information send a message to info at phpclasses dot org.