hi , i am using jquery stars plugin and asking users to rate . the form works well,but caching has become a big problem. even after refresh of the page .it does not show the latest ratings . only after i clear the cache new ratings gets showed.
A:
how are you getting the rating from the server? Try throw a random number or the current time in the get request.
Jon List
2010-06-01 17:19:29
its just the number value from the mysql table which i am fetching and displaying as stars.
pradeep
2010-06-02 05:07:33
+1
A:
Hey,
may be its due to issue in jquery cache
$.ajax({ url: "test.html", cache: false, success: function(html){ $("#results").append(html); } });
set cache to false will work fine.
Thanxs, Gobi
Gobi
2010-06-02 06:15:17