Jump to content

Sweet Alert behind the forms


Mohammed Nasman

Recommended Posts

  • 1 year later...
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");

}
post-1329-0-51984600-1525689625_thumb.png
 
I'm using build 1421
 
 

post-1329-0-51984600-1525689625_thumb.png

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...