Hi,
Niky is right, you have to be sure your document has fully loaded. But
if it is not, you cant get he select element, at least if you use
FindElementById(). Try to listen for another event, fo example
"mouseover" or "click" to see if the event listener gets any events, so
you isolete the p
Ali, Mazin wrote:
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 SelectElement = do_QueryInterface(
pNode, &rs );
nsCOMPtr target = do_QueryInterface(SelectElement)
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 SelectElement = do_QueryInterface(
pNode, &rs );
nsCOMPtr target = do_QueryInterface(SelectElement)
;
nsCOMPtr event