How do I close an active dialog in easyui desktop. I know it is possible to close it by its ID but I want to close just the active window using js code. This was we can close the active window by using keyboard shortcut key. Please help. I want to know how I would get the active window (desktop dialog) using js.
The following code checks whether the dialog is created but it uses ID selector and does not particularly target active dialog.
But how do I target an active dialog and not using ID selector.
Thanks and regards,
Alfred