JavaScript Confirmation Box
JavaScript can display a nice confirmation box that will allow your script to test user’s choice when necessary.
The JavaScript “confirm” result is of type boolean. The following example should clear things for you:
1 2 3 4 5 6 7 8 9 10 | var yesorno = confirm("Do you like PHP?"); if( yesorno ) { alert("You like PHP, great..."); } else { alert("Don't like it? Nobody cares anyway."); } |
Leave a Reply
You must be logged in to post a comment.
Categories
Recent Posts
Tags
.NET
ayon
BackgroundWorker
backup
backup file
COCOA
command line
CSV
CSV file
database
DataSet
DataSet Creation
dump
Excel
export
form
form transparency
hackintosh
HTTP POST
import
import data
JavaScript
javascript inject
money online
MouseEventHandler
MySQL
MySQL dump
NSMutableURLRequest
NSString
NSURLConnection
Objective-C
opacity
OSX
OSx86
payperpost
PHP
plugin
restore
sendSynchronousRequest
server
SpVoice
sql file
TEXT-TO-SPEECH
transparency
WordPress