所以我有幾行代碼: $('td').click(function (e) {
var test = "....";
var test2 = "....";
var test3 = "....";
SuppressWarning(test, test2, test3);
});
function SuppressWarning(test, test2,
如何更改按鈕標籤在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