Hi I’ve been using the suggestion made in Auto-refreshing div with jQuery – setTimeout or another method? to refresh a div. The div is refreshing a php script that is calculating lots of numbers in the background.
Does anyone know how I can stop the DIV refreshing once a the calculation in the php script have finished loading?
You can use a simple boolean or just an if statement.