Re: [python-win32] Please help! How to get the event handler with IE Dom interfaces?

2010-05-27 Thread Tim Roberts
Xin Zhao wrote: I am using pywin32 code get all event handlers defined in a HTML page in IE. I used pythoncom to start IE, then get document, and finally reached IHTMLElement object. If the html page defines onclick=xxx, element.onclick returns the click handler. However, if an event

[python-win32] Please help! How to get the event handler with IE Dom interfaces?

2010-05-26 Thread Xin Zhao
Hey all, I am using pywin32 code get all event handlers defined in a HTML page in IE. I used pythoncom to start IE, then get document, and finally reached IHTMLElement object. If the html page defines onclick=xxx, element.onclick returns the click handler. However, if an event handler is