Auto-reply Solved http://blog.nemikor.com/2009/04/08/basic-usage-of-the-jquery-ui-dialog/
On 25 sep, 16:25, "k...@beza" <[email protected]> wrote: > Hi guys > I have a grid, with a listing. I use 2 columns to put modify and > delete icons. So each row has its modify and delete icons. When user > clicks the delete image, a modal dialog should appear asking him if he > wants to delete that record. > > My problem is that it works only once. So, if user clicks cancel > button, then he can't see the dialog again > What's wrong? > > jQuery(document).ready(function(){ > > jQuery(".botoneliminar").click(function () { > > jQuery("#divdialogo").dialog({ > bgiframe: true, > autoOpen: true, > closeOnEscape: true, > draggable: false, > hide: 'slide', > resizable: false, > height:140, > modal: true, > overlay: { > backgroundColor: '#000', > opacity: 0.5 > }, > buttons: { > 'Eliminar': function() { > $(this).dialog('close'); > alert("Closed"); > }, > Cancel: function() { > $(this).dialog('close'); > } > } > }); > > }); > > }); > > Thanks a lot in advance, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
