I need to load some JSON content from a URL every n seconds. Everytime the JSON content is received I want a function to be called with the JSON content to process it and update the HTML on the page to display the results.
How do I do that? I tried using UpdateManager but so far it's dumping the JSON content into the <div> that has the ID that I used to create the UpdateManager. The JSON data is to be displayed inside that <div> but I don't want a straight dump of the JSON data.