不能在jquery.confirm的函数中使用jquery.confirm

时间:2014-03-18 12:30:47

标签: javascript jquery jquery-plugins

我正在使用jquery.confirm来显示我的提醒消息,但是当我在jquery.confirm函数中使用jquery.confirm时,它在第二次调用中没有显示任何内容。

我已粘贴使用的代码:

if (data == 'already') {
    jrn.confirm({
    'title': 'mytitle',
    'message': 'mymessage.',
    'buttons': {
        'close': {
        'class': 'blue',
        'action': function () {}
     },
        'remove me': {
        'class': 'gray',
        'action': function () {
             var DelURL = '@Url.Action("deletecellno", "partials")';
             jrn.post(DelURL, { cellno: celln }, function (msg) {
                 jrn.confirm({
                 'title': 'mytitle2',
                 'message': 'mymessage',
                 'buttons': {
                      'close': {
                      'class': 'blue',
                      'action': function () { }
                               }
                             }
                        });
                }); 
         }
      }
    }
 });
}

第二次确认不起作用。为什么呢?

0 个答案:

没有答案
相关问题