windowHDScreenRefresh Method
This function refreshes the screen to update answers in the variable fields that have changed.

JavaScript API: Direct
Assembly: api.js Version: 1.0.0.0 (1.0.0.0)
Syntax

JavaScript
function HDScreenRefresh();
Examples

The following JavaScript function calls HDAPI.SetAnswer (in the parent window) to set some answer values and then calls HDAPI.ScreenRefresh to update the variable fields. This technique (calling API methods in the parent window) is explained in "Create a HotDocs Server answer source".
JavaScript
function SetVariables(index) {
    window.opener.HDAPI.SetValue("Employee Name",EmpName[index]);
    window.opener.HDAPI.SetValue("Employee Gender",EmpGender[index]);
    window.opener.HDAPI.SetValue("Employee Birth Date",new Date(EmpBirth[index]));
    window.opener.HDAPI.ScreenRefresh();
    window.close();
}
See Also

Reference