Mohammed Nasman Posted May 7, 2018 Share Posted May 7, 2018 Hello, I'm trying to use Sweetalert library to show better alerts, but when I try that, it became behind the form, as following: function click(sender, e, eOpts) { swal("Good job!", "You clicked the button!", "success"); } I'm using build 1421 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 7, 2018 Share Posted May 7, 2018 Hi, Maybe you need to use this CustomCSS: .swal-modal { z-index: 100000; } Quote Link to comment Share on other sites More sharing options...
Mohammed Nasman Posted May 7, 2018 Author Share Posted May 7, 2018 Unfortunately, didn't work Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 7, 2018 Share Posted May 7, 2018 If it's not difficult for you, make a simple testcase Quote Link to comment Share on other sites More sharing options...
SayeyeZohor Posted July 12, 2019 Share Posted July 12, 2019 On 5/7/2018 at 3:11 PM, Mohammed Nasman said: Hello, I'm trying to use Sweetalert library to show better alerts, but when I try that, it became behind the form, as following: function click(sender, e, eOpts) { swal("Good job!", "You clicked the button!", "success"); } I'm using build 1421 how to dynamically pass title and message parameter to this code?{ swal("Good job!", "You clicked the button!", "success"); swal({ title: 'Demo', html: 'Account Information not available in Demo mode', type: 'info', showConfirmButton: true, showCancelButton: false, confirmButtonText: 'OK', cancelButtonText: '', animation: true, allowEscapeKey: false, confirmButtonColor: '#BDBF37', cancelButtonColor: '#d33', timer: 0, allowOutsideClick: false }); } Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 12, 2019 Share Posted July 12, 2019 3 hours ago, SayeyeZohor said: how to dynamically pass title and message parameter to this code?{ UniSession.AddJS('swal("Good job!!!", "You clicked the button!!!", "success");'); ? Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted July 12, 2019 Share Posted July 12, 2019 Hello, http://forums.unigui.com/index.php?/topic/8910-sweetalert2/&page=2 did you see this topic? Quote Link to comment Share on other sites More sharing options...
SayeyeZohor Posted July 12, 2019 Share Posted July 12, 2019 4 hours ago, Freeman35 said: Hello, http://forums.unigui.com/index.php?/topic/8910-sweetalert2/&page=2 did you see this topic? yes i dont use that and error Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.