C
charlesjylee
I am working with Netscape 7.0 and need to bind a <div> with the
innerHTML property. More specifically, I need to bind a GridView in
the div in question. I am binding the div with some hardcoded data (a
table, which is the HTML equivalent of a GridView). Is there a way
with javascript to dump the memory used by a DOM object (the div that
I am binding with innerHTML)? When i just receive the variable in
javascript, it doesnt seem to leak. I have tried removing and adding
the div each time I bind to it, but it still leaks. Any help will be
greatly appreciated. Thanks in advance.
Here is the code:
<script>
function BindDiv()
{
document.getElementById("divGridView").innerHTML = ("/* A very long
HTML line representing a gridview */");
}
window.setInterval('BindDiv()', 500);
</script>
<div id="divGridView"></div>
Thanks,
Charles.
innerHTML property. More specifically, I need to bind a GridView in
the div in question. I am binding the div with some hardcoded data (a
table, which is the HTML equivalent of a GridView). Is there a way
with javascript to dump the memory used by a DOM object (the div that
I am binding with innerHTML)? When i just receive the variable in
javascript, it doesnt seem to leak. I have tried removing and adding
the div each time I bind to it, but it still leaks. Any help will be
greatly appreciated. Thanks in advance.
Here is the code:
<script>
function BindDiv()
{
document.getElementById("divGridView").innerHTML = ("/* A very long
HTML line representing a gridview */");
}
window.setInterval('BindDiv()', 500);
</script>
<div id="divGridView"></div>
Thanks,
Charles.