how to activate noty notification on button click #118

aathar opened this Issue Jan 22, 2013 · 1 comment

3 participants


Sir, please don't mind me asking as I am quite new in JQuery. I have downloaded and followed your instructions on till the installation section. I have imported all the .js files in my project.

I am really not sure how to call a notification box on a button click in Your little help will make my entire day pleasurable and shall be much appreciated.


If you have included the necessary .js files (add inline.js as well), you can create a button on your page

<input type="button" class="some-cool-class" value="Pop Pop!"/>

Then, you can hook the noty code up to the button's click event by:

$('.some-cool-class').click(funciton() {
    noty({ text: 'It is alive!', type: 'success' });
@needim needim closed this Aug 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment