Hi
I d'ont understand why this code don't work properly.
var essai = Class.create();
essai.prototype = {
initialize : function(texte){
this.texte = texte;
document.addEventListener(click,this.callThisMethod.bind(this),false);
Hi,
Every time you call `bind`, a *new* function is created. To remove an
event listener, you have to give `removeEventListener` a reference to
the *same function* that you gave `addEventListener`.
(Chaque fois que vous appelez `bind`, une *nouvelle* fonction est
créée. Pour supprimer un
A previously working autocompleter has since stopped working after an
update to the latest firefox 4. Has anyone else had this problem?
Tried a clean page with just prototype and script.aculo.us with the
same result.
Best regards,
Joschi
--
You received this message because you are subscribed
Hurray! I had ?xml version='1.0' encoding='ISO-8859-1'? as the
first line in the response. Worked fine in previous browser version.
Thanks.
On Apr 7, 4:05 pm, Joschi Cassel josch...@gmail.com wrote:
A previously working autocompleter has since stopped working after an
update to the latest