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="2011-12-08 03:54:34Z" class="relativetime">8 years ago</span>.</div>
        </div>
    </aside>

I was preparing for the interview and I stumble across this question.

Can anyone explain me what are the Benefits of Ajax Calls,
why do we need Ajax Calls and what can be the disadvantages of Ajax. 

Any suggestions will be appreciated.

</div>

Most importantly, do you understand what AJAX is? If not, I would start by reading through http://en.wikipedia.org/wiki/Ajax_%28programming%29 .

One large benefit is that it allows for partial updates to pages, without requiring a reload of the current page or a load of a whole new page with each action or input, as was typical in years past.

One disadvantage may be some additional complexities, development time, and troubleshooting. (The above Wikipedia link actually contains a list of 10 drawbacks for "disadvantages".)

Ajax calls can help you decrease website load. for example if you want to load a customers table from database ajax can load it in without refreshing your css and images etc... so you can save memory by using ajax.

disadvantage of ajax is ... it's taking too much time in development and little bit hard for basic users