How can I call a function when it is on the onClick event: <a class="classes" href="javascript:;" onclick="$.Notification.autoHideNotify('error', 'top right', 'Header','Main')">Button</a> <a class="classes" href="javascript:;" onclick="$.Notification.autoHideNotify('error', 'top right', 'Header','Main')">Button</a> without eventa on pressing, that is, let's say, when the page loads
|
$(function(){ $("#id_вашей_кнопки").click(); }- Alexander Belinsky