Advertisement
Guest User

Untitled

a guest
Feb 28th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. <div><button onclick="notifyMe()">Notify me!</button></div>
  2.  
  3. function notifyMe() {
  4. var notification = new Notification("Hi there!");
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement