SyntaxFix
Write A Post
Hire A Developer
Questions
function myfunction(){ $('.classname').fancybox().trigger('click'); }
It works for me..