1// 2// Companion javascript function for making ajax GET requests to the metro_build_metrolink_html_table plugin 3// 4function get_metrolink_schedule_table(direction, day_type, table_container_id, callback_on_success) { 5 $.ajax({ 6 url: get_metrolink_schedule_table_ajax_object.ajaxurl, 7 dataType: "json", 8 data: { action: 'metro_build_metrolink_html_table', direction: direction, day_type: day_type }, 9 type: 'GET', 10 success: function(response){ 11 $("#" + table_container_id).html(response.html); 12 if (callback_on_success && (typeof callback_on_success == "function")) { 13 callback_on_success(); 14 } 15 } 16 }); 17}
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.