I have IFrame with a button in it, and it's onclick
is:
new window.parent.UI.Image('xyz').addToCart();
In Firefox, I don't have any problems with this code. In IE, however, I get a "permission denied" error.
Is there a different way I should be accessing the JavaScript in the parent window?