RE: [PHP-DB] are you sure?
| From: | Cal Evans | Date: | Wed, 03 Jan 2001 19:03:48 +0000 |
| Subject: | RE: [PHP-DB] are you sure? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-5575@lists.php.net to get a copy of this message | ||
Luis,
I usually use a JavaScript popup for this and a function called by the
form's onSubmit() event. It returns a false if the user clicks no and that
cancel's the action.
Same thing for a link except I use the onclick of the HREF.
Cal
-----Original Message-----
From: Adv. Systems Design [mailto:asd_2000@yahoo.com]
Sent: Wednesday, January 03, 2001 11:32 AM
To: php-db@lists.php.net
Subject: [PHP-DB] are you sure?
Hi:
I have a link that will delete a record...I was
wondering how to implement either in javascript or in
php a warning: "Are you sure you wish to delete this
record? This operation is not undoable! Click ok to
delete..."
Thanks
Luis
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net