I am trying to reload a parent webpage from an iframe. Here is my code:
<script> $(document).ready(function() { window.parent.location.href = window.parent.location.href; }); </script>
But it does not work. Firebug says: Permission denied to access the 'href' property
I am in the same domain, so what's the problem? I am trying to do this in a Wordpress theme.
user887799
source share