Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67497

Refresh page within an iframe

$
0
0

I have an app (facebook canvas app, facebook displays the app in an iframe)

When the user clicks on a link I want to be able to refresh the page.

the code i m using to refresh the page is as follows:

window.location.reload(true);

With firefox this works fine, it only refreshes the current page within the iframe. So i m happy.

With IE, the whole page is being refreshed which causes the user to go the beginning of the app.

How can i avoid that?

I just want refresh the current page not the current url.

apps.facebook.com/foo/

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 apps.facebook.com/foo/

any ideas?


Viewing all articles
Browse latest Browse all 67497

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>