Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001011

RE: [PHP-DB] are you sure? From: Cal Evans (cal <email protected>)
Date: 01/03/01

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 <email protected>]
Sent: Wednesday, January 03, 2001 11:32 AM
To: php-db <email protected>
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 <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>