Originally posted by pankajit09
HTTP Request from JavaScript
Collapse
X
-
With a synchronous request, the browser will freeze, so your animated image will show, but it may not be animated! Show the image before you make the request and possibly some text to explain what's happening. I think a non-Ajax solution makes more sense here, but that's just my opinion. -
Originally posted by acoderWith a synchronous request, the browser will freeze, so your animated image will show, but it may not be animated! Show the image before you make the request and possibly some text to explain what's happening. I think a non-Ajax solution makes more sense here, but that's just my opinion.
I am saving the data present in cells of a spreadsheet so I think non Ajax is not good.
What do you think ?Comment
-
The only reason why I think it's better not to use 'Ajax' here is that you're planning to use a synchronous request. This freezes the browser until a response is received which goes against the whole concept of Ajax. Why not use an asynchronous request? Does it take a long time for the server-side script to be processed?Originally posted by pankajit09I am saving the data present in cells of a spreadsheet so I think non Ajax is not good.
What do you think ?Comment
Comment