I have a situation which is as follows: -
 
Using addEventListener ( DOMString type , nsIDOMEventListener listener , PRBool useCapture ),  I am installing a listener in same window twice but with different parameters.
 
win.addEventListener ("load", xyz, true);
win.addEventListener ("load", xyz, false);
 
In one case the useCapture parameter is true and in other it is false. When I receive the notification in xyz.handleEvent(nsIDOMEvent evt) callback function, I am not able to figure out whether the notification is for useCapture = true or useCapture = false.
 
Can anybody please help me to deal with this situation?
 
Thank you.
 
Regards,
Nikhil Kadu


Yahoo! India Matrimony: Find your partner now.

Reply via email to