I\'m using fancy box to create a popup and load another page on it using an iframe. here is my code
call to $.fancybox.close();
$.fancybox.close();
also look on this answers in the post
According to http://fancybox.net/faq
How can I close FancyBox from other element? ? Just call $.fn.fancybox.close() on your onClick event
Just call $.fn.fancybox.close() on your onClick event
$.fn.fancybox.close()
So you should just be able to add in the fn.
fn