View Full Version : tab content - reload

01-21-2011, 04:33 AM
1) Script Title: Tabcontent

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/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.

<div id="random">
<!-- #include file="forex1.asp" -->

<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 ()
return (false);
}, 10000); //


Initially when home.asp loads, forex1.asp works correctly. The problem occurs when refresh event is called as div random turns blank.
I tried several solutions, I am clueless, please help