小编Mad*_*han的帖子

加载时为甜蜜警报输入设置值

在甜蜜警报 2 中,如何在输入我的甜蜜警报代码中设置值

swal({
              title: 'Are you sure?',
              text: "You are going to send emails from the system. Please confirm",                   
              showCancelButton: true,
              input: 'email',

              confirmButtonText: 'Submit',
              confirmButtonColor: '#4aa0f1',
              cancelButtonColor: '#898b8e',
              confirmButtonText: 'Send'
            }).then(function (email) {  
                send_email = email;
                sentHtmtBody_send();
                loadingIcon();
            });
Run Code Online (Sandbox Code Playgroud)

sweetalert

2
推荐指数
1
解决办法
7414
查看次数

标签 统计

sweetalert ×1