Changeset 2956556
- Timestamp:
- 08/22/2023 06:51:43 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wc-nova-poshta-for-shop/trunk/assets_file/js/custom.js
r2956550 r2956556 11 11 if(billing_city.length > 2){ 12 12 if(jQuery('#billing_warehouses').hasClass('is-loader')){ 13 console.log('zaq');13 // console.log('zaq'); 14 14 jQuery('#billing_city_field').addClass('is-loader'); 15 15 } 16 console.log('zaq!QQQ');16 // console.log('zaq!QQQ'); 17 17 18 18 jQuery.ajax({ … … 129 129 }); 130 130 131 jQuery(document).on('change','#ship-to-different-address',function() {132 var city_ref = jQuery('#billing_city,#billing_np_city').attr('data-cityref');133 console.log('test');134 jQuery.ajax({135 url:myajax.url,136 data: {137 'action' : 'get_document_price',138 'city_ref': city_ref139 },140 type:'POST',141 success:function(data){142 var result_data = JSON.parse(data);143 }144 });145 });131 // jQuery(document).on('change','#ship-to-different-address',function() { 132 // var city_ref = jQuery('#billing_city,#billing_np_city').attr('data-cityref'); 133 // console.log('test'); 134 // jQuery.ajax({ 135 // url:myajax.url, 136 // data: { 137 // 'action' : 'get_document_price', 138 // 'city_ref': city_ref 139 // }, 140 // type:'POST', 141 // success:function(data){ 142 // var result_data = JSON.parse(data); 143 // } 144 // }); 145 // }); 146 146 147 147
Note: See TracChangeset
for help on using the changeset viewer.