File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jquery getjson ajax problem

 
vikas sharmaa
Ranch Hand
Posts: 191
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have used jquery ajax functions to implement chat application. now, i want to update my chat window every second. so, i have written below javascript code:



even though updateChat is getting called every second.. but server call to chat/update.htm is getting called only first time. please tell me, where i am going wrong?
 
vikas sharmaa
Ranch Hand
Posts: 191
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it was cache issue. i resolved it by appending epoch value in the request parameter as shown below:



Thank you.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic