+ 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?!
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
+ 11
an example with AlertifyJS
https://code.sololearn.com/WDA83uvJD5Io/?ref=app