links = [lambda row: A('Club call',_onclick="if(confirm('Do you want to
club this call')) document.location='%s'; return false;'
% URL("","Incident",args=[row.id])]
On Monday, 13 May 2013 00:56:27 UTC-5, Pawan Jha wrote:
>
> Hi all
>
> I am using this in SQLFORM.grid
>
> here is confirm message but on clicking this Message is coming but when i
> am clicking on no the its refresh the pages
>
> so please tell me how will i prevent this
>
> links = [lambda row: A('Club call',_onclick="confirm('Do you want to club
> this call')",_href=URL("","Incident",args=[row.id]))]
>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.