如何设置引导程序确认框仅在双击事件中显示。我目前的弹出代码是:
JS
$('[data-toggle="confirmation"]').confirmation({
'onConfirm': function() {
alert("dfgdfg");
},
btnOkLabel: " Yes",
btnCancelLabel: " No"
});
HTML
<br/>
<br/>
<br/>
<br/>
<br/>
<a href="#Delete" id="try_it" class="btn btn-primary btn-large" title="Continue?" data-toggle="confirmation" data-singleton="true" data-placement="top" data-popout="true">
<span title="Excluir o projeto">Try</span>
</a>