I have a ajax javascript method that pulls data from a page etc.
I want this process to run on a timed interval, say every minute. But I don\'t want it to loop forev
You can use setInterval() and then inside the called function keep a count of how many times you've run the function and then clearInterval().
Or you can use setTimeout() and then inside the called function call setTimeout() again until you've done it 3 times.