Dear all

I have try to use the element.fire to trigger 2 event

var FCK = Class.create({
  initialize:function(id){
    document.observe('FCK:completed',
this.func1.bindAsEventListener(this));
    document.observe('FCK:completed',
this.func2.bindAsEventListener(this));
  },
  func1:function(){
    alert('1');
  },
  func2:function(){
    alert('2');
  }
}

in FF the sequence is prompt '1' and then '2'
but in IE the sequence is prompt '2' and then '1'

and how can I control the sequence??

Regards
Victor

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to