Re: are you sure?
| From: | Marcelo Gulin | Date: | Wed, 03 Jan 2001 17:35:14 +0000 |
| Subject: | Re: are you sure? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-5569@lists.php.net to get a copy of this message | ||
Hi!
in JavaScript, you can use...
if( confirm("Are you sure?") )
// delete the record
else
// record not deleted
regards
Marcelo Gulin
"Adv. Systems Design" escribió:
>
> 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