(正确的用户名是jinjiang,密码是maxthon)
dialog.alert(text)Just a alert.
textdialog.confirm(text, doYes, doNo)Just a confirm.
textdoYes()doNo()dialog.show(title, contentHtml, config)Show a dialog with a centain title, content, and config.
titlecontentHtmlconfigoncreate, onclose, css.oncreate(dialogObj)afterCreate(dialogObj)onclose()cssdialog.update(title, contentHtml, config)Show a dialog with a centain title, content, and config.
titlecontentHtmlconfigonclose, css, beforeUpdate, afterUpdate.beforeUpdate(dialogObj)afterUpdate(dialogObj)dialog.hide()Fire onclose event first. If no prevent, then close the dialog.
dialog.forceHide()Hide dialog without any confirm.
dialog.setTemplate()Set the dialog html template.
dialog.resetTemplate()Reset the dialog html template to default.
dialog.TEMPLATEThe default dialog html template.
dialogObj.elementThe jQuery element object for the dialogObj.
dialogObj.configThe config for the dialogObj.
dialogObj.setTitle(text)Set the title of the dialog.
dialogObj.setContent(contentHtml)Set the content html of the dialog.