Why is this javascript a memory leak -


can me figure out why memory leak, perhaps circular reference, , can prevent leaking?

//this function first expands iframe fill available space //and expands div container of grid fill available space //only required ie7 function setiframeheight() {     if ($telerik.isie7) {         var h = document.documentelement.clientheight;         h -= 34;         var frame = document.getelementbyid('ifworkspace');         frame.style.height = h + "px";         var fc = frame.contentdocument || frame.contentwindow.document;         var dg = fc.getelementbyid("ctl00_maincontent_grdsummary_griddata");         if (dg != null) { dg.style.height = "100%"; }     } } //window events window.onload = setiframeheight; 


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -