Having a little difficulty getting a function to call after a .load:
$(function(){
$(\'a.pageFetcher\').click(function(){
$(\'#main\').load($(thi
you can also use bootstrap loading button to trigger the .load() and the function after .load()
HTML
JQUERY
$("#refresh").click(function() {
var $this = $(this);
$this.button('loading');
$("#container").load("/showemails.aspx?page=1 #container", function() {
$("#refresh").button('reset');
});
return false;
});