Prototype.jsが Updateされいくつかの機能が追加されました。 メソッドチェーンによるメソッドの呼び出しが完全にサポートされたのは大きな変更かと思います。 CHANGELOG Element, Form, Form.Elementメソッドの仕様変更 Elment, Form, Form.Elementが配列ではなく、一つの要素(or ID)を引数に取るように仕様変更され、返り値として引数で渡したオブジェクトを返すようになりました。 この修正により、 $('div').each(function(val) {Element.show(val);}); // Before $('div').each(Element.show); // After $('input[type="text"]').each(function(val) {Field.clear(val);}); //