How to close Fancybox on anchor or button click
Nothing special to achieve this just siply write the fancybox close script inline with your tag just like
<a href="javascript:void(0)" onclick="$.fancybox.close();">Close</a>
or
<button onclick="$.fancybox.close();">Close</button>
0 comments: