Perhaps thats what I should call it...
TwistedGA |
|
---|---|
Alright coding guru's, this ones for you.. I'm having some issues with meory leaking using a small bit of javascript to refresh div content. I figure this was a good place to start asking for help, I've been and am still doing research on causes for this problem, but I'm not having a ton of luck figuring it out. Bare in mind that I DO NOT know very much about javascript, so if yoru kind enough to help, please be kinda specific so I can try to keep up and follow along and actually make use of the information you give.. :P
Here is the code I'm using, it's very asic(atleast it seems to me to be). I lef tthe site open last night and woke up to it frozen and the memory usage for IE was 750,000k. Whoops. I restarted it and kept the task manager open to watch for it, sure enough, every 10 seconds, the memory usage jumps up 500-800k at a time. Any help at all would be greatly appreciated. Thanks in advance guys.. <script type="text/javascript">
function RefreshDIV ()
{
$('#mydivrefresh').load('testpage.php');
var refreshId = setInterval(function RefreshDIV()
{
$('#mydivrefresh').load('testpage.php');
}, 10000);
}
</script> [color=#CC0000]Lazymod[/color] [color=#000000]Studios[/color]
|