Javascript alert, prompt and confirm boxes can be a useful tool if used wisely. Only ever use them if the need arises. Don't just use them because you can.
I will cover each of the boxes in more detail later but first there are some things you should be aware of.
The restrictions are there to prevent malicious use by certain individuals who like trying to steal users email addresses passwords etc. That takes care of the major appearance and security issues.
This guide will step you through each of the boxes. There will be no annoying onload alerts through the guide, simple onClick examples will be used instead.
Let's look at the alert box first.