I\'m looking for a way to get the JavaScript code defined inside of onclick. I\'m using .NET 2.0 C# Visual Studio 2005.
Example:
<
Cast the element object to mshtml.IHTMLDOMNode, then read the attributes via IHTMLDOMNode.attributes. HtmlElement.GetAttribute is getting the IDispatch interface of the jscript function generated from the embedded attribute.