I have this url to call the taxonomy.php by pressing the button with the code beneath to show filtered posts:
http://myurl/?meta_key=post_views_count&orderby=meta_value&order=ASC
This is the JS I am using:
$(document).ready(function(){
$.ajaxSetup({cache:false});
$("#hot a").click(function(){
var post_id = $(this).attr("rel")
$(".postbox_wrapper").html('<span class="filter_posts"><img src="<?php bloginfo ('template_directory'); ?>/images/287.gif"></span>');
$(".postbox_wrapper").load(jQuery(this).attr("href") + " .postbox_wrapper")
return false;
});
});
The call works perfectly - the content show up without pagereload - as I wish.
The problem is, that JS is not loaded on the ajaxloaded pages and I really don't get it to load. I tried out many versions, I found on stackexchange, but nothing worked out.
For example this needs to be loaded into the ajaxed call: http://myname.disqus.com/count.js?ver=3.4.1
Has anybody an idea?
Thanky you very much.
AD