Thanks.
I fixed the problem. The reason is Ajax response Cached by IE.
So i didnt get the proper progress info.
To overcome the problem i have used post method over Ajax request.
On Feb 22, 1:18 pm, David Mark <dmark.cins...@gmail.com> wrote:
> On Feb 22, 3:10 am, Shan <m.shanmugara...@gmail.com> wrote:
>
> > Hi...
>
> > I am trying to get progress of a backend task, which is initiated from
> > web gui....
> > To achieve it i am using Ajax. To get recent progress of backend task,
> > i am calling the same Ajax function using setTimeOut after some x
> > seconds.
>
> > This logic is working very fine in Firefox, Safari. But when i tested
> > my application in IE. It seems like the setTimeOut function is not
> > considering the second argument in it.
>
> In this case, things are not as they seem. The setTimeout method
> works as expected in IE.
>
>
>
> > Ajax function is called frequently, irrespective of secong argument to
> > setTimeout("fn()",5000)
>
> Though it isn't the problem at hand, I recommend you change that to:
>
> window.setTimeout(fn, 5000);
>
> Passing a string to setTimeout to be evaluated is virtually never a
> good idea. It seems particularly silly in this case. If you need to
> support ancient browsers that cannot handle a function passed to
> setTimeout, see the FAQ notes.
>
>
>
> > What may be the problem....?
>
> Can't tell from here. Post some code.
|