title: Javascript redirect within Facebook app iframe
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3457620/facebook-login-and-iframe-redirection">Facebook Login and Iframe redirection</a>  </p>
  </blockquote>
  
  
  
  <p>I'm trying to do a redirect via JS within an FB app in an iframe and it's busting out of the iframe.</p>
  
  <p>Currently it looks like this:</p>
  
  <pre><code>window.location.href = '/bla'
  </code></pre>
  
  <p>But this is busting out of the iframe. How do I ensure the redirect occurs, but only within the iframe?</p>