我正在尝试使用jQueryUI对话框在数据库更新之前获得用户确认,但我正在努力了解如何判断用户在对话框中的选择,因为我可以在所有示例中找到,两个按钮都只是关闭对话框,而不保持所选按钮的持久性。例如,来自jQueryUI示例和文档: 'Deactivate the campaign': function () {$(this).dialog('close'
But I use jQueryUI to create my customized jQueryUIdialog, and it won't lock the screen...UPDATE: <script type="text/javascript"> $("#story_pages").dialog({autoOpen: false,