页面表单数据序列化 var params=Form.serialize(document.forms[0]);var myAjax = new Ajax.Request(url, {method: "post",onComplete:doAction,parameters:params});