1) Script Title: Load html into div and unload
2) Script URL (on DD):
3) Describe problem:
This is my script
and it's perfect, loads external html (just plain text) into div and then change it when I click on another link. Also when I click back on the first link, it load back first html.Code:$(document).ready(function() { $('a.container').click(function(e) { e.preventDefault(); e.stopPropagation(); $('#container') .hide() .load(this.href, function() { $(this).fadeIn(1500); }); }); });
Problem become, when I add some script into those external html (like some script for sliders with images). It won't load back first html.
Do I maybe need to unload first and then load another content? How can I do this?
Thanks
Bookmarks