andyd34 Posted October 16, 2009 Share Posted October 16, 2009 I dont want anthying special, i just want to reload the $('#time') dive every 15 seconds but all the info arounds seems to point to an external file. Surely you must just be adle to reload this divs contents <div id="time"> <table> <tr> <td><?=date('g:i:s a')?></td> </tr> </table> </div> Link to comment https://forums.phpfreaks.com/topic/177850-auto-reload-div-with-same-dive-contents/ Share on other sites More sharing options...
xtopolis Posted October 17, 2009 Share Posted October 17, 2009 If you're just updating time, use Javascript for the whole thing. Otherwise, you will use Ajax to pull the data from somewhere (external, same file, database, whatever) and then put that data in the div. Link to comment https://forums.phpfreaks.com/topic/177850-auto-reload-div-with-same-dive-contents/#findComment-938448 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.