Tomasz Pyra wrote:
(linkHTMLElement is my <a> tag - type nsIDOMHTMLAnchorElement)

nsCOMPtr<nsIDOMEventTarget> evtTarget= do_QueryInterface(OwnerDoc,&result);

You want the linkHTMLElement to be the event target, not the owner document.

-Boris
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to