add button
Opened this issue · 2 comments
2451390512 commented
@dbremer-tonn
I want to add a certain button in the pop-up box, then what should I do?
Trouble reply me see! thank you
Mystelven commented
Just type this in your console for example,
$().toastmessage('showWarningToast',"<button id='myButton'>do something</button>");
you will have after, a button in the pop-up box to do whatever you want :)
gatsbn commented
Can I use plugin functionality to replace JS "confirm" function (somehow add Ok, cancel buttons)? Plugin works for standart JS alert, so I want to replace "confirm" in the same style.