PageSourceSearch

https://harpersbazaar.com.au/wp-content/themes/bazar/classes/ajax/js/ajax.js?ver=589250964

js harpersbazaar.com.au collected 2026-09-24 15:26:34 UTC 1,354 bytes, 55 lines download raw bytes

1/*
2 * SIMPLE UPLOAD SCRIPT: https://github.com/michaelcbrook/simpleUpload.js
3 */
4jQuery(document).ready(function(){
5    /*
6     * ON SELECT CHANGE RUN AJAX
7     */
8      jQuery('.video-load').on('click', function(e){
9        e.preventDefault();
10        var video_id = jQuery(this).data('internalvideoid');
11
12          var data = {
13              'action':'main_ajax_controller',
14              'controller':'load_video_box',
15              'video_id': video_id
16          };
17          /*
18           * AJAX CALL WRAPPER
19           */
20          do_ajax(data);
21      });
22});
23/*
24 * REUSABLE AJAX CALL
25 */
26function do_ajax(dataset){
27/*
28 * AJAX
29 */
30    jQuery.ajax({
31        url: myAjax.ajaxurl,
32        data: dataset,
33        success:function(data) {
34            /*
35             * RESULT IS IN DATA VARIABLE
36             */
37            jQuery('.ajaxbox').html(data);
38        },
39        error: function(errorThrown){
40             /*
41             * DISPLAY ERROR
42             */
43            console.log(errorThrown);
44        }
45    });
46}
47
48jQuery.fn.ArkansasNextOrFirst = function(selector) {
49        var next = this.next(selector);
50        return (next.length) ? next : this.prevAll(selector).last();
51        };
52jQuery.fn.ArkansasPrevOrLast = function(selector) {
53    var prev = this.prev(selector);
54    return (prev.length) ? prev : this.nextAll(selector).last();
55};

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.