PHP Classes

File: assets/pages/scripts/checkout.js

Recommend this page to a friend!
  Classes of Nemeth Zoltan  >  YAF Base  >  assets/pages/scripts/checkout.js  >  Download  
File: assets/pages/scripts/checkout.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: YAF Base
Base structure for YAF framework based apps
Author: By
Last change:
Date: 4 years ago
Size: 535 bytes
 

Contents

Class file image Download
var Checkout = function () {

    return {
        init: function () {
            
            $('#checkout').on('change', '#checkout-content input[name="account"]', function() {

              var title = '';

              if ($(this).attr('value') == 'register') {
                title = 'Step 2: Account & Billing Details';
              } else {
                title = 'Step 2: Billing Details';
              }    

              $('#payment-address .accordion-toggle').html(title);
            });

        }
    };

}();
For more information send a message to info at phpclasses dot org.