Closed hardiktailored closed 7 years ago
I have included scripts and added confirmation as per document like below:
function delete_confirm(form) { confirm(function(e,btn){ //event + button clicked e.preventDefault(); form.submit(); }, function(e,btn){ e.preventDefault(); return false; }); }
But I don't see any example explaining how I can I add other parameters like title, theme, size, etc. in above confirm method, like below alert:
$.jAlert({ 'title': 'Set It', 'content': 'Set', 'theme': 'green', 'size': 'md', 'showAnimation': 'fadeInUp', 'hideAnimation': 'fadeOutDown' });
$.jAlert({ 'type':'confirm', 'size': 'md', 'showAnimation': 'fadeInUp', 'hideAnimation': 'fadeOutDown' });
I have included scripts and added confirmation as per document like below:
But I don't see any example explaining how I can I add other parameters like title, theme, size, etc. in above confirm method, like below alert: