Skip to content

Widget_window.confirm

gd-99 edited this page Mar 18, 2023 · 1 revision

This function returns a window which is a confirm dialog.

Description

jQuery $.w.window.confirm( object data )

Creates an confirm dialog.

Parameters

  • object data : the confirm window's data.
  • string title : the window's title
  • string label : the dialog's message
  • string details : some details displayed after the message
  • function cancel : a callback executed if the user cancels
  • function confirm : a callback executed if the user confirms
  • string cancelLabel : the cancel button value
  • string confirmLabel : the confirm button value
  • jQuery parentWindow = $.w.window.getActive() : the parent window.

Return value

A jQuery object corresponding to the created window.

Options, methods, events, examples

See window.

Clone this wiki locally