Script debugging and 'blank' dynamic documents
Hi,
I am developing an ASPX web application and use jQuery to dynamically refresh the whole page using the .load() function
- $(document).ready(function(){
var refresh = setInterval(function() {
$("#form1").load('Default.aspx #form1 > *');
}, 9000);
});
I.e. replace element with ID form1 (content) with the one returned from background page request. The code works as intended but I noticed something strange:
I am debugging my application with Visual Studio 2008 and Internet Explorer 7. There is an advanced option in IE to "enable script debugging"which allows to insert break points in JavaScript code. Once I enabled the above code I noticed a dynamic document named "blank" appearing for every background refresh call (see screenshot). They sum up as long as the page is opened.
I am wondering now if this is an ignorable issue or if this may cause memory issues at client side. Did I use the correct approach for "background refreshing" or is my code faulty.