1$=jQuery;var mafs=$("#my-ajax-filter-search");var mafsForm=mafs.find("form");mafsForm.submit(function(e){e.preventDefault();console.log("form submitted")});$=jQuery;var mafs=$("#my-ajax-filter-search");var mafsForm=mafs.find("form");mafsForm.submit(function(e){e.preventDefault();if(mafsForm.find("#search").val().length!==0){var search=mafsForm.find("#search").val()} 2var available=[];$.each($("input[name='available']:checked"),function(){available.push($(this).val())});var available2=[];$.each($("input[name='available2']:checked"),function(){available2.push($(this).val())});var available3=[];$.each($("input[name='available3']:checked"),function(){available3.push($(this).val())});var available4=[];$.each($("input[name='available4']:checked"),function(){available4.push($(this).val())});var available5=[];$.each($("input[name='available5']:checked"),function(){available5.push($(this).val())});console.log(available);var data={action:"my_ajax_filter_search",search:search,available:available,available2:available2,available3:available3,available4:available4,available5:available5,} 3$.ajax({url:ajax_url,data:data,success:function(response){console.log(response);mafs.find("ul").empty();if(response){for(var i=0;i<response.length;i++){var html="";html+=` 4 <div class="col-lg-4 col-md-6 col-12"> 5 <div class="position-relative">` 6html+="<img src='"+response[i].poster+"' alt='"+response[i].title+"' />";html+=` <div>` 7html+="<h4>"+response[i].title+"</h4>";html+="<h6>"+response[i].country_name_search+"</h6>";html+="<span>"+response[i].price_search+"</span>";html+=` 8 9 </div> </div> 10 </div>`;mafs.find("ul").append(html)}}else{var html="<li class='no-result'>No matching movies found. Try a different filter or search keyword</li>";mafs.find("ul").append(html)}}})})
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.