There are two ways that Ajax can access the server. These are
synchronous (wnere the script stops and waits for the server to send
back a reply before continuing) and asynchronous (where the script
allows the page to continue to be processed and will handle the reply if
and when it arrives).