This demo explains how panel of a UI can be updated by using AJAX without to reload the whole HTML page. The two buttons in the below demo increases the same counter variable, but each panel updates only his own view part.
Process: Element:
Developer-html-dialog-demos