There is a tooltip code notification, showing through onclick

<a href="javascript:;" onclick="$.Notification.notify('custom','bottom right','название', 'Текст')">Тык</a> 

How to make a conclusion when loading the page. I tried it like this

 <script type="text/javascript">$.Notification.notify('custom','bottom right','название', 'Текст');</script> 

Does not work

  • obviously you need to call after you have $ and $.Notification - Grundy

1 answer 1

 $(function () { $.Notification.notify('custom','bottom right','название', 'Текст'); }); 

and not before you connect jQuery.