function setIframeHeight(iframe) { if (iframe) { var iframeWin = iframe.contentWindow || iframe.contentDocument.parentWindow; if (iframeWin.document.body) { iframe.height = iframeWin.document.documentElement.scrollHeight || iframeWin.document.body.sc…
function setv(){ $("#innerContent").contents().find(".listTable-01").css("width","1400px"); $("#innerContent").contents().find(".Main_Right_Content").css("width","1400p…
Q:clear listbox hi i am working in VC++ 6 using Win32 App. .............tell me how to clear the listbox Re: clear listbox Send the listbox a LB_RESETCONTENT message. Code: SendMessage(handleListbox, LB_RESETCONTENT, 0, 0); reference: http://forums.c…
uses MSHTML, ActiveX; function GetFrame(FrameNo:Integer):IWebbrowser2;var OleContainer:IOleContainer;enum:IEnumUnknown;unk:IUnknown;Fetched:PLongint;begin while Form1.wb1.ReadyState <> READYSTATE_COMPLETE do Application.ProcessMessages;if Assigned(F…
//取得整个HTML格式 var f = $(window.frames["ReportIFrame"].document).contents().html(); 或者 $("#iframe").contents().html(); //取得文本格式 var f = $(window.frames["ReportIFrame"].document).contents().text(); 或者 $("#iframe").cont…