如何更改按钮标签在alertify - v0.3.11 我使用下面的代码 alertify.confirm("Are you sure you want to cancel this order?", function (e) {
if (e) {
document.forms.SFOrder.action=<cfoutput>'#self#=#xfa.cancel
我想,当有人试图从页面导航使用alertify确认框。但在路线的willTransition行动,alertify非常异步的,余烬不会等待确认。无论您点击什么,该页面都已被导航。 willTransition(transition) {
alertify.confirm('Confirm', 'Are you sure you want to navigate?', function(e