Link to home
Start Free TrialLog in
Avatar of Rich
RichFlag for United States of America

asked on

Using PHP, is there any way to pop-up a confirmation dialog without creating a page just for it?

I would like to have a pop-up window to confirm the deletion of a record from a database. I am using PHP and have a list with a delete record link, which calls a php page with the delete code. I want to be able to first pop-up a dialog (possibly using javascript confirm() ), and then have the delete code run and redraw the current page record list (sans the record just deleted). The delete function and page redraw are easy enough, but the popup has been giving me difficulty.
ASKER CERTIFIED SOLUTION
Avatar of snoyes_jw
snoyes_jw
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Steve Bink
Steve Bink
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial