Hi all, I use the ajaxButton to delete the record from the database, and How can the ajaxButton surpport
the confirm dialog when clicking the delete button(ajaxButton) ? 1:) I use this method that it will be show the confirm dialog when clicking the delete button, but it never call the deleteItemFromDb() method. ### ajaxButton(S.?("delete"), Call("confirm", Str("are you sure?")), () => {deleteItemFromDb(); reDraw()}) ### 2:) When clicking the delete button, the record will be deleted from the db, but it doesn't show the confrim dialog (the js confirm dialog) . ### ajaxButton(S.?("delete"), () => {deleteItemFromDb(); reDraw();}) Thanks for any suggestion ! Cheers, Neil ### --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---