I need to access the parent window of an iframe, this script is also loaded in the iframe window as well.. So basically I have this markup.
BODY | IFRAME | BODY | SCRIPT
$(window.parent.document).resize(resizeModal);
So I need once inside the modal window, for the fundition "resizeModal()" to run once it's parent window is resized, but it doesn't work :(
Any ideas?