function demo(){ var url=”ajaxdemo.asp”; var paras = “” ; var myAjax = new Ajax.Request( url, { method: ‘post’, parameters: paras, onComplete: showResponse }); } function showResponse(originalRequest){ var html = originalRequest.responseText; alert(html); } 这是应用 prototype.js 后最常看见的ajax代码,由于