The close() method closes the previously open popup window.
Syntax
popup.close();
Arguments
No arguments.
Return value
No return value.
Example
This is an artificial example. We open Products table Add page in popup and close it right after that.
var popup = Runner.displayPopup({
url: Runner.pages.getUrl("products","add"),
height: 400,
header: 'Add Product'
});
popup.close();
See also: