English 中文(简体)
Modal 确认试图打电话给另一封Modal
原标题:Modal Confirmation trying call another Modal Confirmation

I have a problem I been trying to solve but as to no avail, can anyone help me please

这里是希望的结果。

  1. I have a modal dialog already popup
  2. it has 2 button Ok and Cancel
  3. When i press Ok button, it should trigger another modal dialog.

之所以可能,是因为一点点点击 奥克顿的时机是,它首先完成这一进程,因为第二次电话是第一个方言箱的一部分,并不打开第二套模式。

问题回答

你在第一次诊断中做了什么? 此外,我还执行了若干nes方言。 我正在利用Jajax美元处理第一个方言,然后使用成功方法开第二个方言:

    $firstdialog.dialog("option", "buttons", {
            "Submit": function () {
                    $.ajax({
                           url:  ... ,
                           type:  POST ,
                           data: { ... },
                           success: function (result) { $seconddialog.dialog( open ); }
                     });    
            },
            "Cancel": function () {
                $firstdialog.dialog( close );

            }
        });

希望有助于:

您可尝试jqModal。 它可以加以实施,以建立nes式方言。

There is a simple way to create nested dialog. You can use jQuery EasyUI messager. For example:

$.messager.confirm( Confirm , Are you sure you want to go to step 2? ,function(r){  
  if (r){  
     // use nested dialog
     $.messager.confirm( Confirm , Are you sure you want to go to step 3? ,function(r){  
         if (r){  
            $.messager.alert( Info , This is step 3! );  
         } else {  
            $.messager.alert( Warning , You finished step 2! );
         }
     });  
  } else {  
     $.messager.alert( Warning , You finished step 1! );
  }  
});  

希望能成为你们的替代方式:-





相关问题
getGridParam is not a function

The HTML: <a href="javascript:void(0)" id="m1">Get Selected id s</a> The Function: jQuery("#m1").click( function() { var s; s = jQuery("#list4").getGridParam( selarrrow )...

selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

jQuery cycle page with links

I am using the cycle plugin with pager functionality like this : $j( #homebox ) .cycle({ fx: fade , speed: fast , timeout: 9000, pager: #home-thumbs , ...

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

jConfirm with this existing code

I need help to use jConfirm with this existing code (php & Jquery & jAlert). function logout() { if (confirm("Do you really want to logout?")) window.location.href = "logout.php"; } ...

Wrap text after particular symbol with jQuery

What I m trying to do, is wrap text into div inside ll tag. It wouldn t be a problem, but I need to wrap text that appears particularly after "-" (minus) including "minus" itself. This is my html: &...

热门标签