0

why we use alert box in JavaScript instead of message box.?

19th Apr 2017, 4:33 AM
Ajit Singh Kushwaha
Ajit Singh Kushwaha - avatar
4 Respostas
+ 10
what's a message box(in javascript of course)? never heard before 🤔
19th Apr 2017, 5:26 AM
Kamil
Kamil - avatar
+ 6
message box is in visual basic (vb) alert box in javascript (js)
19th Apr 2017, 7:15 AM
Didi Georgel Danaila
Didi Georgel Danaila - avatar
+ 5
message box and alert box are the same box in javascript isn't it?
19th Apr 2017, 4:46 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 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/
19th Apr 2017, 6:47 AM
Burey
Burey - avatar