I
I
iOS Dav2016-12-18 14:05:38
Bootstrap
iOS Dav, 2016-12-18 14:05:38

Why is bootsrap-notify not working?

Why doesn't bootsrap-notify work?
Connected bootstrap and notify. Wrote JS code:
$('body').notify({
message: 'Hello World',
type: 'danger'
});
I opened the page through google chrome - it is not displayed. I looked at the code through chrome and there in the console: Uncaught TypeError: $(...).notify is not a function But the notify file is connected! I checked it

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
iBird Rose, 2016-12-18
@Aidosss

in the documentation it is written in plain text - do not do this)
write like this in general:

$.notify({
  // options
  message: 'Hello World' 
},{
  // settings
  type: 'danger'
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question