1) Script Title: Tabcontent
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tabcontent.htm
3) Describe problem:
I have a file called forex1.asp that includes the script and works fine if the page is called individually.
Next I included the forex1.asp file in another file named home.asp
What I want to do is to reload by using ajax the forex1.asp every x seconds.
Initially when home.asp loads, forex1.asp works correctly. The problem occurs when refresh event is called as div random turns blank.Code:<div id="random"> <!-- #include file="forex1.asp" --> </div> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"></script> <script type="text/javascript"> var auto_refresh = setInterval( function () { $('#random').load('forex1.asp').fadeIn("slow"); return (false); }, 10000); // </script>
I tried several solutions, I am clueless, please help



Reply With Quote
Bookmarks