PHP Classes

File: assets/js/admin/shipping-methods.min.js

Recommend this page to a friend!
  Classes of Julio Cezar Kronbauer   PHP WooCommerce Correios   assets/js/admin/shipping-methods.min.js   Download  
File: assets/js/admin/shipping-methods.min.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP WooCommerce Correios
Woocommerce plugin for shipping via Correios
Author: By
Last change:
Date: 7 years ago
Size: 506 bytes
 

Contents

Class file image Download
jQuery(document).ready(function(a){a('input[id$="_show_delivery_time"], #woocommerce_correios_display_date').on("change",function(){var b=a('input[id$="_additional_time"]').closest("tr");a(this).is(":checked")?b.show():b.hide()}).change(),a('select[id$="_service_type"], #woocommerce_correios_corporate_service').on("change",function(){var b=a('input[id$="_login"]').closest("tr"),c=a('input[id$="_password"]').closest("tr");"corporate"===a(this).val()?(b.show(),c.show()):(b.hide(),c.hide())}).change()});