Scriptaculous的
如果引入jquery后再引入effects.js
,就可能出現(xiàn)莫名其妙的問題。
jQuery("#id")正常,但類似于jQuery("name='test'")之類的查詢就會出錯。
原因是舊版本(1.5.1)的effects.js
里有代碼污染了Array的call方法Array.prototype.call?=?function()?{
??var?args?=?arguments;
??this.each(function(f){?f.apply(this,?args)?});
}參考一
參考二
http://www.javaeye.com/topic/84683
http://www.javaeye.com/topic/184859