What is the difference between XMLHttpRequest, jQuery.ajax, jQuery.post, jQuery.get
问题 How can I find out which method is best for a situation? Can anybody provide some examples to know the difference in terms of functionality and performance? 回答1: XMLHttpRequest is the raw browser object that jQuery wraps into a more usable and simplified form and cross browser consistent functionality. jQuery.ajax is a general Ajax requester in jQuery that can do any type and content requests. jQuery.get and jQuery.post on the other hand can only issue GET and POST requests. If you don't know