[Catalyst] how to confirm before deleteing

Rodrigo rodrigolive at gmail.com
Wed Jan 21 13:45:01 GMT 2009

Paul, how about a javascript confirm() box?

<a href=3D"yourcontroller/delete/row_id" onclick=3D"javascript:return
confirm('You selected delete. Do you really want todo this?')">Delete


On Wed, Jan 21, 2009 at 2:23 PM, Paul Falbe <paul at cassens.com> wrote:

> I writting my first little Catalyst app and need todo a delete function. =
> have a link for users to delete a row in a sqlite table.  My question is
> what is the prefered rocess for asking "You selected delete.  Do you real=
> want todo this?".
> Thanks in advance!
> -Paul
> --
> View this message in context:
> http://www.nabble.com/how-to-confirm-before-deleteing-tp21583057p21583057=
> Sent from the Catalyst Web Framework mailing list archive at Nabble.com.
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090121/c0198=

More information about the Catalyst mailing list