PageSourceSearch

https://mckinleyresources.com/wp-content/plugins/woocommerce-cart-…/update-cart-item-ajax.js?ver=1790949154

js mckinleyresources.com collected 2026-10-02 13:54:00 UTC 1,181 bytes, 40 lines download raw bytes

1(function($){
2  $(document).ready(function(){
3    $('.rmtmckinley-cart-comments, .rmtmckinley-cart-insample, .cart-item-unit').on('change keyup paste click',function(){
4      $('.cart_totals').block({
5        message: null,
6        overlayCSS: {
7          background: '#fff',
8          opacity: 0.6
9       }
10      });
11     var cart_id = $(this).data('cart-id');
12     if ($('#cart_insample_' + cart_id).is(':checked')) {
13       var cartinsample = $('#cart_insample_' + cart_id).val();
14     }else{
15       var cartinsample = '';
16     }
17
18     //var cart_unit = $('#item-unit-' + cart_id).val();
19     //alert(cart_unit);
20
21     $.ajax(
22        {
23          type: 'POST',
24          url: rmtmckinley_vars.ajaxurl,
25          data: {
26            action: 'rmtmckinley_update_cart_comments',
27            security: $('#woocommerce-cart-nonce').val(),
28            cart_unit: $('#item-unit-' + cart_id).val(),
29            cart_comments: $('#cart_comments_' + cart_id).val(),
30            cart_insample: cartinsample,
31            cart_id: cart_id
32          },
33          success: function( response ) {
34            $('.cart_totals').unblock();
35          }
36        }
37      )
38    });
39  });
40})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.