1//Buscador ACTUALIDAD 2$(document).on('click', '.content-filters-actualidad .content-filters input', function(e) { 3 4 e.preventDefault(); 5 6 7 8 //Capturamos el contenido del select 9 var id = $(this).val(); 10 11 $( ".content-filters label" ).each(function( index ) { 12 $(this).removeClass('active'); 13 }); 14 15 $(this).siblings('label').addClass('active'); 16 $(this).attr('checked', ''); 17 18 var dataForm = ''; 19 dataForm += "&category=" + id 20 21 // En este punto ejecutamos la consulta de ajax 22 var data = 'action=searchActualidad' + dataForm; 23 24 $.ajax({ 25 type: 'POST', 26 cache: false, 27 url: ajaxurl, 28 data: data, 29 dataType: 'json', 30 beforeSend: function () { 31 $(".loading").show(); 32 }, 33 success: function (response) { 34 35 if (response.status == 'ok') { 36 $(".loading").hide(); 37 $('.content-posts').html(response.html); 38 39 } 40 }, 41 error: function () { 42 $(".loading").hide(); 43 } 44 }); 45});
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.