jquery - How to use Notify.js -


please give me notify.js example file dependencies , sample code.

$('#btnclick').click(function () {   // alert('button clicked');   $.notify("notify"); }); 

this code giving me error.

and error uncaught typeerror: $.notify not function

<%@ page language="c#" inherits="system.web.mvc.viewpage<dynamic>" %> <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">` <html xmlns="http://www.w3.org/1999/xhtml">   <head runat="server">     <title>index</title>     <script src="../../scripts/jquery-1.4.1.min.js" type="text/javascript"></script>     <script src="../../scripts/notify.js" type="text/javascript"></script>     <script>       $(document).ready(function () {         $('#btnclick').click(function () {           $.notify("notify messege");         });       });     </script>   </head>   <body>     <input type="button" name="click" value="show messege" id="btnclick" />   </body> </html> 

assuming file paths correct problem because version of jquery very, old - 10 years out of date.

you should upgrade jquery @ least version 1.12, preferably 3.2 if don't need support ie8 , lower.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -