+ 3

Is it possible to show an image in "alert" box by JavaScript?! How?!

How can I use a picture in alert box of webpage by js?!

18th Feb 2018, 9:25 PM
Ahmad Heidari
Ahmad Heidari - avatar
2 Answers
+ 11
with the native alert() you simply can't there are plenty of libraries for custom alerts which can do it quite easily look at some of the ones in this thread https://www.sololearn.com/discuss/1043031/?ref=app
18th Feb 2018, 9:43 PM
Burey
Burey - avatar
18th Feb 2018, 10:17 PM
Burey
Burey - avatar