Azu Posted June 5, 2007 Share Posted June 5, 2007 Can somebody please tell me how I can use ajax to, say download www.website.com/plain.txt and write <div>(contents of the txt file)</div> and then update the part in between the divs every certain amount of seconds? I would really appreciate it.. Link to comment https://forums.phpfreaks.com/topic/54278-updating-with-ajax/ Share on other sites More sharing options...
Azu Posted June 7, 2007 Author Share Posted June 7, 2007 Bump sorry can somebody please tell me how to do this? o_o Link to comment https://forums.phpfreaks.com/topic/54278-updating-with-ajax/#findComment-270006 Share on other sites More sharing options...
sayedsohail Posted June 15, 2007 Share Posted June 15, 2007 here you go, look at this topic, it has got all the code you needed, after reading this you could be able to implement it easily, http://www.phpfreaks.com/forums/index.php/topic,115581.0.html secondly, you can trigger the event by using the settimeout() function, which in turns update the div to the specified time. best if luck. Link to comment https://forums.phpfreaks.com/topic/54278-updating-with-ajax/#findComment-275222 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.