Ajaxed div hide and show hides only after div load
问题 I have this issue. I'm working on a jquery ajaxed site. I have the main content div in the middle and on top the navigation. I need to AJAX the content, because I have flash backgound so that the flash video won't start from beginning after every page load. The only way I was able to do this was with this sort of code: $(document).ready(function(){ $.ajaxSetup ({ cache: false }); //For loading var ajax_load = "<img src='img/load.gif' alt='loading...' /><p>"; // Var var loadPage1 = "page1.html