了解AJAX历史[关闭]

                <div class="grid--cell fl1 lh-lg">
                    <div class="grid--cell fl1 lh-lg">
                        As it currently stands, this question is not a good fit for our Q&amp;A format. We expect answers to be supported by facts, references,   or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question   can be improved and possibly reopened, <a href="/help/reopen-questions">visit the help center</a> for guidance.

                    </div>
                </div>
            </div>
            <div class="grid--cell mb0 mt8">Closed <span title="2013-03-16 16:38:18Z" class="relativetime">7 years ago</span>.</div>
        </div>
    </aside>

I apologize in advance if this is a simple question, but I'm reading about Javascript and AJAX and wanted to understand a little bit more about what led to the importance of AJAX.

Based on my understanding, prior to AJAX, if a web page wanted to modify its content, the user would have to REFRESH / RELOAD the page, which would trigger a HTTP request being sent to the web server. However, with the advent of AJAX, it is possible for the browser to modify its content WITHOUT the user actually manually refreshing the page - instead, an XMLHttpRequest object could be sent from the browser to the server to retrieve data that updates the web page. This is probably an oversimplification, but am I correct at a high level?

</div>

True .

Ajax sends XML request to server and gets the XML Output based on Events.

Ajax by default is Asynchronous (meaning it won't wait for the result to come,but it will be invoked when the result is available).

You can always make it synchronous though.

It is the callback function that takes the data and updates :)

You can learn more about callback here