我下載了Notify.js文件,並將它們放在網頁的根目錄下。即時嘗試測試它,但我沒有得到任何東西,當點擊按鈕如何使用帶按鈕的Notify.js?
<html>
<head>
<title>Untitled</title>
<script src="notify.js"></script>
</head>
<body>
<input name="notif" type="button" value="Shoow notif" onclick="$(".elem-demo").notify("Hello Box");">
</body>
</html>
最新問題?
如何裝載jQuery的? – undefined 2014-08-30 11:37:16
你的意思是? – 2014-08-30 11:46:32
@undefined這是答案http://stackoverflow.com/a/ 25582016/3176270 – M98 2014-08-30 11:53:02