I have a main document (1st) that loads another document (2nd) with jQuery. The 2nd doc has a form, which submits to itself, and after submission reloads to the 1st. All worked fine while the data displayed on the 2nd page was done via PHP (echo constructed data to page). Decided to change format to JSON and display data to 2nd page via javascript. Works pretty much. However, after a form submit, when the 2nd page reloads, it is all but blank (because it reloaded before the data populated the divs again?). If I refresh the 1st page manually, the changes are displayed as expected. Any help, ideas?