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 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; } 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 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 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 }); } 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");'); ? 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? 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now