Notification of what is not working

I tried the following code but nothing appeared when the page was launched in the browser

<script> $(function () { //ready toastr.info('For more information, see our FAQ guide located below.'); }); </script> 
+5
source share
2 answers

If you included jQuery, toastr.js and toastr.css in your page, this should work. I would try to check if all the correct paths to these scripts were in place, and I would check the console for errors.

 <script src="/example-path-to/jquery-2.1.4.js"></script> <script src="/example-path-to/toastr.js"></script> <link href="/example-path-to/toastr.css" rel="stylesheet" /> <script> $(function () { //ready toastr.info('If all three of these are referenced correctly, then this should toast should pop-up.'); }); </script> 
+12
source

how to add laravel, I want to show my control page - show where I include this code?

$ (function () {// ready toastr.info ('If all three links are given the correct links, the popup should pop up.');});
0
source

Source: https://habr.com/ru/post/1211122/


All Articles