title: Refresh page within an iframe
body: <p>I have an app (facebook canvas app, facebook displays the app in an iframe)</p>
  
  <p>When the user clicks on a link I want to be able to refresh the page. </p>
  
  <p>the code i m using to refresh the page is as follows:</p>
  
  <pre><code>window.location.reload(true);
  </code></pre>
  
  <p>With firefox this works fine, it only refreshes the current page within the iframe. So i m happy.</p>
  
  <p>With IE, the whole page is being refreshed which causes the user to go the beginning of the app. </p>
  
  <p>How can i avoid that?</p>
  
  <p>I just want refresh the current page not the current url.</p>
  
  <pre><code>apps.facebook.com/foo/
  </code></pre>
  
  <p>is the app URL and within URL user clicks on a link go to a page, then within that Page i need to refresh that page to update some counters. but when i refresh the whole request goes to <code>apps.facebook.com/foo/</code></p>
  
  <p>any ideas?</p>