原创 Ajax重構通用代碼AjaxRequest.js

var net = new Object(); // 定義一個全局變量net// 編寫構造函數net.AjaxRequest = function(url, onload, onerror, method,