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.. Quote Link to comment 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 Quote Link to comment 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. 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.