Alert with "OK" and "Cancel"

Added By: bloodrane

Rated:
(3 of 5) by 8.
Rate Snippet:
Description:  The below is a simple Javascript function that most people should know, but for some reason noone seems to know it. So... ever see a message that looks something like this: |-----------------------------------------------------| | Are you sure you want to download that file? | | [ Cancel ] { OK } | |-----------------------------------------------------| This is the function that will allow you to do this (that is some quality ASCII there):
Language:  JavaScript

Save to web space
E-mail Link

Code Snippet: