Stopping auto refresh from the loaded page
<p>Page "Main" uses <code>setInterval</code> in combination with <code>jQuery.load</code> to load content from "Sub" page.</p>

<p>I need to be able to stop auto refresh from happening, if "Sub" page contains a specific flag.</p>

<p>In other words, the "Sub" page should be reloaded until it tells Main to stop auto refresh.</p>

<p>What is the best way to achieve this?</p>
