Gets the event name from the event object.
HRESULT IHTMLEventObj::get_type(BSTR *p);
- Pointer to a variable of type BSTR that receives the event name.
Returns S_OK if successful, or an error value otherwise.
Events are returned without the "on" prefix. For example, the onclick event is returned as "click".