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> Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.