Check if content in DIV has changed
<p>I'm loading some content inside a div with <code>setInterval</code>, and I don't want it to run everytime so I need to check if the content has changed from the last time it ran.</p>

<p><strong>Here's what I'm currently using that's not working</strong></p>

<pre><code>var auto_refresh = setInterval(
function() {
    $('#loaddiv').load('/wzha/reload.php');
    $('#loaddiv').change(function() {
        var dddd = $('#loaddiv').text();
        alert(dddd);
    });
}, 1000);
</code></pre>

<p><strong>Example:</strong> </p>

<p>reload.php is just <code>&lt;?php echo 'something here'; ?&gt;</code>. When I save reload.php, it needs to put <code>something here</code> in to the <code>#loaddiv</code>. It should not load the div anymore until I re-save reload.php to something else.</p>
