+ 2

Edit alert box?

It is possible to add headings in an alert box?or even styles?

19th Mar 2017, 5:10 PM
Olm - avatar
3 Respostas
+ 8
Sadly, it is not possible, however, you can definitely create your own customized alert box if you wanted to using css/sass/less/javascript/jquery/ etc and try to mimic the functionality of the alert box built into the browser.
19th Mar 2017, 5:19 PM
Frank Gunsch
Frank Gunsch - avatar
+ 3
It seems that it requires the use of jQuery.
19th Mar 2017, 5:18 PM
Nicolas Bonnet
Nicolas Bonnet - avatar
+ 2
No. This IS possible. There's a JavaScript library called alertify.js, which along with jQuery, can be used to style alert, prompt and confirm boxes. Hope this helped. Thanks! ‚ėļ
7th Jun 2018, 1:06 PM
Siddharth - avatar