Mohammed Nasman Posted May 7, 2018 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
Sherzod Posted May 7, 2018 Posted May 7, 2018 Hi, Maybe you need to use this CustomCSS: .swal-modal { z-index: 100000; } Quote
Sherzod Posted May 7, 2018 Posted May 7, 2018 If it's not difficult for you, make a simple testcase Quote
SayeyeZohor Posted July 12, 2019 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
Sherzod Posted July 12, 2019 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
Freeman35 Posted July 12, 2019 Posted July 12, 2019 Hello, http://forums.unigui.com/index.php?/topic/8910-sweetalert2/&page=2 did you see this topic? Quote
SayeyeZohor Posted July 12, 2019 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
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.