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

Popular posts from this blog

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World