bootstrap-notify icon indicating copy to clipboard operation
bootstrap-notify copied to clipboard

$.notify in not a function

Open sajjaadalipour opened this issue 9 years ago • 15 comments

Hi . i was trying to use bootstrap-notify in my project , but your documentation was not useful fore me . for exmaple i was trying to show an alert message on a button click , but i got '$.notify in not a function' , and there was no explation about how to use alerts in button click events ?

sajjaadalipour avatar Sep 06 '16 07:09 sajjaadalipour

Okey

:) :)

bahmanenayati avatar Sep 28 '16 15:09 bahmanenayati

Sorry this year has just been terrible for me life wise. I just noticed this issue. Are you able to tell me what the console was report?

mouse0270 avatar Sep 28 '16 17:09 mouse0270

Hello experts, I am also facing the same issue in my Ruby on Rails project. My bootstrap version: 3.3.7 Jquery version: 3.1.1 Could someone please help?

newUserForTesting avatar Oct 04 '16 09:10 newUserForTesting

Resolved! Looks like there were 2 jquery files being included in my page with different versions. Removed one of them and notify is working like a charm! Thanks experts!

newUserForTesting avatar Oct 04 '16 14:10 newUserForTesting

Try jQuery.notify()

lilosir avatar Dec 15 '16 04:12 lilosir

$.notify is not a function is happening to me,

4sh3 avatar Aug 27 '17 18:08 4sh3

Hi guys how are you can use this library for this problem: Notify.js

ManouchehrRasoulli avatar Aug 29 '17 14:08 ManouchehrRasoulli

I had the same issue, the problem was that the source URL was wrong. The chrome console gave the hint, file not found 🔢 <script src="./js/bootstrap/bootstrap-notify.min.js"></script>

maskier avatar Jan 12 '18 02:01 maskier

you just need to need to include the script in Your html for example in my case i downloaded bootstrap-notify with npm so it's in my node_modules. <script src="/node_modules/bootstrap-notify/bootstrap-notify.min.js"></script> And that s it. just find where the script is and included it in the script tag

ZiedChekir avatar Mar 22 '18 13:03 ZiedChekir

Hi same issue.

I tried NoResource and handly add notify.js. But same error in console: $wnd.jQuery.notify is not a function

I use latest GWT and GWTBootstrap. I have firstly inherited gwtboostrap and after gwtbootstrap.extras.notify.Notify in GWT module XML.

vasatkoCZ avatar Mar 27 '18 09:03 vasatkoCZ

it's a strange problem,sometime it's fine,sometime can be wrong..but also try to include it once more before you use it,or u can try to choose another version,workd for me now

xcLtw avatar Apr 03 '18 03:04 xcLtw

In angular 5 i got the same problem.i have tried every way to fix it but not working.finally i copy pasted bootstrap-notify.js file to angular component onInit() function then it works fine.i know this is very bad solution but this was the only way.hope this will help :-)

rdulmina avatar Jun 10 '18 10:06 rdulmina

Hey guys. If you haven't yet, in order to get this to work, you will need to add the bootstrap-notify.js path to your scripts.

Angular: Simply locate the "scripts" array in 'angular.json' ( 'angular-cli.json' before angular v6 ) file and add the path to the module your using: "node_modules/bootstrap4-notify/bootstrap-notify.min.js"

I hope this helps! 💯 Good luck!

EAZeeE avatar Jun 20 '18 09:06 EAZeeE

in my case i put the $notify .function in a script in a $(document).ready(function() {

});

salmanbangash1176 avatar May 27 '20 20:05 salmanbangash1176

Hey guys. If you haven't yet, in order to get this to work, you will need to add the bootstrap-notify.js path to your scripts.

Angular: Simply locate the "scripts" array in 'angular.json' ( 'angular-cli.json' before angular v6 ) file and add the path to the module your using: "node_modules/bootstrap4-notify/bootstrap-notify.min.js"

I hope this helps! 💯 Good luck!

Thanks alot brother.....

Ahmad-Sheeraz avatar Dec 02 '21 11:12 Ahmad-Sheeraz