IE Browser Extension with BHO using C#
<p>I am not able to get the inner HTML of the IFrame through BHO. Is it possible to get the InnerHTML of IFrame through BHO in C#?</p>

<pre><code>IHTMLElementCollection iframe = document.getElementsByTagName("iframe");
 if (iframe != null)
 {
     for (int i = 0; i &lt; iframe.length; i++)
     {
        var iframeClassName = iframe.item(i).className;
        if (iframeClassName.ToString() == "editable")
        {
             var f = document.getElementById(iframe.item(i).id);
             IHTMLElement iframeElement = document.getElementById(iframe.item(i).id);
             HTMLFrameElement frm = (HTMLFrameElement)iframeElement;
             DispHTMLDocument frm_doc = (DispHTMLDocument)  ((SHDocVw.IWebBrowser2)frm).Document;
                     //frm_doc.body.innerHTML = sLineCard;
                    frm.contentWindow.execScript(exeScript);
         }
      }
 }
</code></pre>

<p>Here i find the class name of the Iframe and the Id for the Iframe. For this Iframe i need to findout the innerHTML. But it is coming empty.</p>
