You could use jQuery, in this example, or some other JavaScript function to get the ID
$("#[this is the HTML element ID]").text(dialog.getId());
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: