SweetAlert - a beautiful replacement for javascript's "alert"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2015 10:50 AM
SweetAlerts2 is out.
Hi Dev's,
Last night i was working on an application that needed some input. So i used SweetAlerts on the custom UI page and it turned out really nice looking, and i thought i could use globally!.
Once you install you can do any of the tests via the console
parent.swal({ title: "Are you sure?", text: "You will not be able to recover this imaginary file!", type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: "Yes, delete it!", closeOnConfirm: false }, function(){ swal("Deleted!", "Your imaginary file has been deleted.", "success"); });
Make sure that you use "parent.swal()"
Here's more examples listed here SweetAlert
Screenshot's below.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2018 09:58 AM
Exactly...ServiceNow will not let you use =>
You and I are in the same boat. thanks for the URL. I'll see if I can figure out how to fit it in to that promise call and will post here if i figure it out. Hope you do the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2018 01:32 PM
Just a quick check, the sweetAlert2 is compatible on Istanbul and Kingston versions? We are currently on Istanbul and moving to Kingston very soon. But I'm going to try this out in Istanbul first.
Please let me know.
Regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2018 01:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2018 01:41 PM
Hi Folks, Blast from the past! I have updated SweetAlerts and it works with all versions of ServiceNow. I also incuded some demo's along with a JSValidator fix to skip those annoying warnings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2018 01:57 PM
Nice one thanks Matt.
Regards
Paul
