Caching Problem with dhtmlxAjax.get()

Hi,

I’m using dhtmlxAjax.get(url, callbackFn) in one of my web pages to populate a dropdown menu. It seems to call the url only for the first time of opening my IE7 browser and going to the particular page. Afterwards, my dropdown menu always shows old data, until I close my browser and open it again. How can I force the dhtmlxAjax.get() to be invoked everytime I go to my web page w/o closing and reopening browser?

Thanks,
Dhanan.

Hi,

try to add a random parameter to the url:

dhtmlxAjax.get(url+"?rs="+(new Date()).valueOf(), callbackFn);

It works, great! Thank you.

Dhanan.