When I click on a button it shows an amazing notification at the top of the screen. Now I want to show this notification to the user as soon as he loads the page, but how can i do this?
This is the code of the button:
<span class="btn btn-success" data-layout="top" data-type="success" data-toggle="notyfy">Success</span>
Thanks for your time.
id="spanSuccess"...and then, this piece of code should do the trick:$(function(){ $('#spanSuccess').click(); });