Window.close

void close (any return)

Parameters

return A number to be returned from the show() method that invoked this window as a modal dialog.

Description

Closes this window.

. If an?onClose()?callback is defined for the window, calls that function before closing the window.