资 源 简 介
This is an object based on the oh-so-famous XMLHttpRequest.
When you send a request, you attribute a name to it, the location, the method, the arguments, the headers and also you can specify a callback function that will be fired once transfer is complete.
Also, this function is very useful to make javascript or json files calls on-the-fly and also assign callback functions.