je suis d'essayer ce plugin jquery http://plugins.jquery.com/project/stylish-select-box/Jquery + Prototype en mode noConflict(), Array.prototype.indexOf cassé
cela fonctionne bien, mais avec prototype + jquery en mode noConflict cette fonction a brisé des scripts autres
Array.prototype.indexOf = function (obj, start) {
for (var i = (start || 0); i < this.length; i++) {
if (this[i] == obj) {
return i;
}
}
};
une aide?
Array a déjà une méthode indexOf? Pourquoi voudriez-vous le remplacer? BEAUCOUP de scripts vont s'appuyer sur ce comportement attendu –