JavaScript Google Chrome scroll freezing while appending ajax content on a page google chrome scroll bar,google chrome scroll speed,google chrome

I have a problem with chrome scrollbar,on Mozilla there is no such a problem. I have couple of synchronous ajax requests and then some info appending on the page,they need about 2 secs to load.During this time the scrollbar freezes and is not usable,when the ajax end the scroll works fine.

Answer:1

Javascript is completely single-threaded.

If you make multiple AJAX calls, you will receive each response as soon as the server sends it; the order depends on the amount of time that it takes the server to send each reply.

If your code is still running when the server replies, the reply will only be processed after your code finishes.

You should try to load all of the data in a single request.

Source: SLaks

I might hit a wall here, in other programming languages you can start a new thread for connections/things like that, if you run multiply threads (kinda like layers) your interface stays the way it is/was.

Answer:2

When you use synchronous AJAX the page stops until ajax finish, so if you want the page not stop, must be asynchronous AJAX call.

You can see more here: Documentation AJAX W3Schools

Answer:3

I am not sure how to understand this foo property and array here. it looks like foo property got assigned to array, but I don't think it is even valid array syntax. Can someone explain the concept ...

I am not sure how to understand this foo property and array here. it looks like foo property got assigned to array, but I don't think it is even valid array syntax. Can someone explain the concept ...

I have a little issue that I couldn't figure out. I have a slider and I want to change url when I click prev and next buttons. Here are my codes below but it doesn't work correctly. Every time I click ...

I have a little issue that I couldn't figure out. I have a slider and I want to change url when I click prev and next buttons. Here are my codes below but it doesn't work correctly. Every time I click ...

  1. window location href new tab
  2. window location href relative
  3. window location href not working
  4. window location href vs replace
  5. window location href redirect
  6. window location href javascript
  7. window location href angular
  8. window location href react
  9. window location href mdn
  10. window location href vs assign
  11. window location href jquery
  12. window location href target _blank javascript
  13. window location href in php
  14. window location href reload
  15. window location href is not a function
  16. window location href html
  17. window location href post
  18. window location href encode url
  19. window location href with headers
  20. window location href back

I have a bootstrap popover and its content is a kendo Ui color picker widget. When you click in the color picker widget, the popover close even if the trigger option is set to focus. Why? How to ...

I have a bootstrap popover and its content is a kendo Ui color picker widget. When you click in the color picker widget, the popover close even if the trigger option is set to focus. Why? How to ...

  1. bootstrap popover close button
  2. bootstrap popover not closing
  3. prevent bootstrap popover from closing
  4. closing bootstrap popover

I am using the Ionic framework to build an android app. I have a form as such: <form action='https://secure.payu.in/_payment' method="POST" target="..."> ...... </form> Is there a way ...

I am using the Ionic framework to build an android app. I have a form as such: <form action='https://secure.payu.in/_payment' method="POST" target="..."> ...... </form> Is there a way ...

  1. change formula
  2. change format
  3. change formula excel
  4. change formula to value
  5. change format of date in excel
  6. change format of picture
  7. change formatter vscode
  8. change formula google sheets
  9. change format of date in r
  10. change formatting in word
  11. change format of datetime python
  12. change format of date in sql
  13. change form template
  14. change format of outlook
  15. change format to pdf
  16. change form synonym
  17. change form real estate hawaii
  18. change format of pivot table
  19. change format sas
  20. change form action jquery