ti_nhatrang
07-02-2007, 10:14 PM
Hi guys,
I'm currently using this for my refresh script, however, I don't want it to refresh the whole page, I just want it to refresh in a ajax DIV container...
is there anyway we can do this?
Here is my code:
<SCRIPT LANGUAGE="JavaScript">
<!---
var refreshID = "";
refreshID = setTimeout("DoRefresh()", <? echo ($timeout*1000); ?>);
function DoRefresh()
{
document.location.href = '<? echo $refreshURL; ?>';
}
//--->
</SCRIPT>
please help. :)
I'm currently using this for my refresh script, however, I don't want it to refresh the whole page, I just want it to refresh in a ajax DIV container...
is there anyway we can do this?
Here is my code:
<SCRIPT LANGUAGE="JavaScript">
<!---
var refreshID = "";
refreshID = setTimeout("DoRefresh()", <? echo ($timeout*1000); ?>);
function DoRefresh()
{
document.location.href = '<? echo $refreshURL; ?>';
}
//--->
</SCRIPT>
please help. :)
