Take the 2-minute tour ×

I am creating a web page using HTML and Javascript, I have included a help button using javascripts alert function so users get some information on how to use the web page.

I have researched endlessly to find out if it is possible to embed a video into an alert message. I have not found one web page that even comes to close to something like this, Is it even doable?

share|improve this question
Jquery UI dialog - alert cannot show anything except plain text –  mplungjan Feb 10 '13 at 13:04
again i barely recoment you to check out some jQuery Beginner Tutorials on Youtube or so. give it a try –  Ace Feb 11 '13 at 1:12
add comment

2 Answers

up vote 0 down vote accepted

You have to create you own javascript popup/alert/dialog box for the task or you can use jQuery UI dialog or Bootstrap Modal. You cannot show anything except plain text in an alert box.

From the documentation:


message is a string of text you want to display in the alert dialog, or, alternatively, an object that is converted into a string and displayed.

share|improve this answer
add comment

Since the alert(...) function takes nothing but a string as parameter, these are your alternate options :

share|improve this answer
add comment

Your Answer

