ruby on rails - How to Close Fancy box -
i'm using fancybox load/display iframe in fancybox. after action in fancybox, ajax request made responds with:
parent.$.fancybox.close();
problem here when runs, there's error (chrome): "failed load resource"
any ideas why, and/or how close fancybox via ajax request w/o error?
a little more technical details. in parent have jquery 1.5 w bunch of plugins, in iframe have jquery 1.5 rails jquery-ujs.
thanks
try making window.parent.$.fancybox.close();
.
Comments
Post a Comment