Getting Started

jqxNotification represents a jQuery widget which displays an unobtrusive notification to the user. Multiple instances of the same notification can be shown at the same time.
Every UI widget from jQWidgets toolkit needs its JavaScript files to be included in order to work properly.

The first step is to create html page and add links to the javascript files and css dependencies to your project. The jqxNotification widget requires the following files:

The next step is to create a DIV element within the body of the html document and add the notification's content in it. The content can be text or HTML code.

The last step is to initialize the widget by adding the following script to the html document:

To call a function(method), you need to pass the method name and parameters(if any) in the jqxNotification’s constructor.
To set a property(option), you need to pass the property name and value(s) in the jqxNotification's constructor.
$("#jqxNotification").jqxNotification({ position: "top-right" });
To get a property(option), you need to pass the property name to the jqxNotification's constructor.
var position = $("#jqxNotification").jqxNotification("position");
To bind to an event of a UI widget, you can use basic jQuery syntax. The example code below demonstrates how to bind to the "close" event of jqxNotification.
// bind to close event.
$("#jqxNotification").bind("close", function (event) {
    alert("Notification was closed.");

Basic Sample

The result of the above code is: