I have spent a lot of time searching how to do this myself, but am lost in the right direction to learn.
my website:
http://www.fireflytheatre.comI'd like to be able to load content from loaded content. Or as I have seen ajax in ajax.
here is my ajax call:
$(document).ready(function(){
$('a.load').click(function(e) {
var url = $(this).attr('href') + ' #external-content';
$('.content-container').html('<div id="loading"><img src="images/ajax-loader.gif" /></div>').load(url);
e.preventDefault();
})
});
how to keep that function present after the content has loaded into the "container" div.
Thanks!