faqts : Computers : Programming : Languages : PHP : Common Problems : Forms and User Input

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

6 of 11 people (55%) answered Yes
Recently 6 of 10 people (60%) answered Yes


How can I prompt a user to confirm a button press?

Dec 26th, 2005 08:34
Praveen Kumar Kukkapalli, Huw Selley,

You can use Javasccript confirm box for this. If the user clicks "Ok"
you can perform the action otherwise cancel.