Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

run CFQuery on a Timed basis 1

Status
Not open for further replies.

doco

Programmer
Sep 28, 2000
32
GB
Hi,

I am trying to get a CFgrid to update automatically after
1 minute, without having to press the submit button.

Thanks,

Chris [sig][/sig]
 
Hi Doco,

As I know, if u want to update automatically after 1 minute without any button clicked, u can apply schedule (setup from the CF server admin page to set it update every 1 minute. It's pretty easy to set up). There is another way that you can do by using javascript:

Here is the code.
<head>
<script language=&quot;JavaScript&quot;>
<!--
function go(url) {
location.href = url + '?' + (new Date()).getTime();
}

go('mycfmgrid.cfm');
//--></script>
</head>

I hope this help
GH [sig][/sig]
 
and there is always the
<meta http-equiv=&quot;refresh&quot; content=&quot;60&quot;>
tag
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top