Notify User If There Is Something New In Javascript
I would like to create something like this in Javascript, and its better if i can do it with Extjs: showing a small notification icon on a button when the page contains something
Solution 1:
This is possible. You have to save a Cookie in your browser once the user click the button. If the Cookie is set, then you can hide the notification.
Here an example:
var myCookie = Ext.util.Cookies.get("YourCookieName");
if(!myCookie){
// show notification
}
And on button click:
Ext.util.Cookies.set("YourCookieName", 1);
Post a Comment for "Notify User If There Is Something New In Javascript"