[web2py] Custom Alert dialog.

2016-05-08 Thread Mushirahmed Shaikh
Dear Massimo, Is there way to add custom alert dialog after clicking the delete button. I have tried using following code in view/show.html and its working. jQuery(function(){ jQuery('._btndelete').click( function(){return confirm('Are you sure?'); }); }); I am searching for cus

[web2py] Custom alert confirm message

2016-05-08 Thread Mushirahmed Shaikh
HI, Anyone knows how to implement the custom alert confirm message after clicking delete button. I have tried below code. jQuery(function(){ jQuery('._btndelete]').click( function(){return confirm('Are you sure?'); }); }); -- Resources: - http://web2py.com - http://web2py.co