0
why we use alert box in JavaScript instead of message box.?
4 ответов
+ 10
what's a message box(in javascript of course)? never heard before 🤔
+ 6
message box is in visual basic (vb)
alert box in javascript (js)
+ 5
message box and alert box are the same box in javascript isn't it?
+ 3
because there is none @Kamil
there's alert, prompt and confirm but message box is not part of the basic functionality of JS
there are some libraries that create such functionality (jQuery UI has dialog, there is the toastr plugin and more ...)
i know that there is a MessageBox class in C# tho
jQuery UI Dialog
https://jqueryui.com/dialog/
Toastr (reqiures jQuery)
https://codeseven.github.io/toastr/