pui.getActiveContainer()



Profound UI / Genie application screens render into an HTML <div> element on the "start.html" page. Window record formats are rendered inside additional <div> elements. This function returns a reference to the top-most window <div> (if any), or the main application screen <div>.

Example:

var container = pui.getActiveContainer();