jquery - Nested Confirm Pop Ups not working -
i want display 1 more same confirmation pop on click of yes button not working, code :
$.confirm({ text: "are sure want delete ?" confirm: function() { $.confirm({ text: "we going delete ?" confirm: function() { }, cancel: function() { } }); }, cancel: function() { } });
i'm using jquery-confirm.js this.
i need alternative implement functionality or solution problem.
as @pmandell said, configuration object invalid. need commas after each attribute of javascript object so:
$.confirm({ text: "are sure want delete ?", confirm: function() { $.confirm({ text: "we going delete ?", confirm: function() { }, cancel: function() { } }); }, cancel: function() { } });
Comments
Post a Comment