Difference between a Postback and a Callback

前端 未结 6 1387
说谎
说谎 2020-12-12 08:35

I keep on hearing this words \'callback\' and \'postback\' tossed around.
What is the difference between two ?

Is postback ver

6条回答
  •  青春惊慌失措
    2020-12-12 09:01

    A postback occurs when a request is sent from the client to the server for the same page as the one the user is currently viewing. When a postback occurs, the entire page is refreshed and you can see the typical progression on the progress bar at the bottom of the browser.

    A callback, generally used with AJAX, occurs when a request is sent from the client to the server for which the page is not refreshed, only a part of it is updated without any flickering occuring on the browser

提交回复
热议问题