Basic Problem is Every scroll of scrollbar makes an ajax call.So if user play with scrollbar say 100 times 100 ajax calls go and server starts processing 100 calls.So abort won't help.The last time the scroll bar has stopped scrolling(say for 1000 millisecond),aj ax call should go.My function uses object function call.So how can i use setTimeOut()
My function looks likes this
temp contain xmlHTpp object
here temp.makeAjaxCa ll should not be called until scrolling is stopped alteast for 1000 millisecond
My function looks likes this
temp contain xmlHTpp object
Code:
var temp=new xmlHttpObject(); div.onscroll={temp.makeAjaxCall()};
Comment