Posted 27 February 2013 - 02:20 PM
Ã¢â‚¬Â¢If you want to display a message to the users before doing anything else on the website.
Ã¢â‚¬Â¢If You want to warn the users about something on your website.
Ã¢â‚¬Â¢If an error occurs and you want to inform your users of the problem.
Ã¢â‚¬Â¢If you want to ask the users for confirmation before some action
Ex. using an HTML button with the onClick event.
<input type="button" onclick=
"alert('Are you absolutely sure you want to continue? ')"
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users