It is so true –
Change is the only constant
At least in case of AJAX and you will come to know only while playing with it.
Read ahead if you are familiar with AJAX otherwise it may pass over your head. I don’t take any responsibilities for any damages caused 🙂
When you use AJAX to call a function on server side with same parameters, the function isn’t called again for some interval of time (it is a cache property). To get over this restriction, all you have to do is to add a variable in every function call which will be changing on every call – of course variable will be global.