原因:Ajax.Request私は、次の操作を行う場合は、リクエストが均一化されることはありません、PrototypeのAjax.Requestといくつかの問題を抱えています要求起こらないよう
<input name="Update" onclick="var req = new Ajax.Request('/agent/reports/update_chart', {asynchronous:true, evalScripts:true, parameters:Form.serialize(this.form), onComplete:function(transport) {alert("TEST");}}); return false;" type="button" value="Update" />
をしかし、私はonCompleteのを削除すると、そのように、それは要求を行います。
<input name="Update" onclick="var req = new Ajax.Request('/agent/reports/update_chart', {asynchronous:true, evalScripts:true, parameters:Form.serialize(this.form)}); return false;" type="button" value="Update" />
私はここで何をしないのですか?私はプロトタイプ1.5.0を使用しています。警告(「TEST」)で
http://en.wikipedia.org/wiki/Unobtrusive_JavaScriptを使用していた場合、この問題は発生しませんでした。 –