I have the below way of framing ajax url which is caching the old ajax response on second call .how to get the latest response? Let mw know if you need details?
CODE :
var fullUri = target+ "?"+"ACTION="+action+"&"+"ARGS="+args+"&"+"EVENT_TYPE="+eventType+"&"+"MODE="+mode+"&"+"PARAMKEYS="+paramkeys+"&"+"PARAMVALS="+paramvals; **//Framing the URL**
xhr.open("GET", fullUri, false); **//Getting the response**
xhr.send(null);
}