javascript, confirm before you go
Sometimes you may want to have a user acknowledge an action and have a second thought about exactly what they are doing before carrying out their request. Javascript fits pretty well for most of these situations. There is a nifty function in javascript named confirm(). This little function takes one argument ( a message for the user ), and presents an alert box to the user showing the message along with an "Ok" and "Cancel" button. If the user clicks ok, confirm returns true, if they click cance... read more!
Posted in javascript | Post Comment
|
1

RSS Feed