Hi
 
I'm trying to intercept combo box select.
here is my code, but the event never fire when I select new item from the combo box.
anyone can help me in this one.

nsCOMPtr<nsIDOMHTMLSelectElement> SelectElement = do_QueryInterface( pNode, &rs );

nsCOMPtr<nsIDOMEventTarget> target = do_QueryInterface(SelectElement) ;

nsCOMPtr<nsIDOMEventListener> eventListener = new sinkevent(this);

target->AddEventListener(NS_LITERAL_STRING("select"),eventListener,PR_TRUE) ;

 
Mazin
phone :3132279104
Compuware Corporation
Detroit, Michigan
www.compuware.com
 
 



The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.


Reply via email to