Forums Forums Search & Filter Pro Ajax results invisible

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #16719

    Hi!

    When I loading results with Ajax all my content is invisible.. but in source code I can see filtred posts.

    I found this:

    <script type="text/javascript">
    
    	<![CDATA[
    	
    		$(".searchandfilter").on("sf:ajaxstart",function(){
    			console.log("ajax start");
    			$('#loader').show();
    		});
    		
    		$(".searchandfilter").on("sf:ajaxfinish",function(){
    			console.log("ajax complete");
    			$('#loader').hide();
    						
    			jQuery.getScript("PATH_TO_YOUR_THEME_DIRECTORY/salient/js/init.js", function(data, textStatus, jqxhr) {
    			   //console.log(data); //data returned
    			   //console.log(textStatus); //success
    			   //console.log(jqxhr.status); //200
    			   //console.log('script.js loaded.');
    			});
    				
    		});
    		
    	]]>
    
    </script>

    but it was not working for me.

    Please help

    Ross Moderator
    #16868

    Do you have a link I could look at?

Viewing 2 posts - 1 through 2 (of 2 total)