# Refreshing only the iframe

**URL:** <https://forum.kirupa.com/t/refreshing-only-the-iframe/199433>\
**Category:** web dev\
**Created:** [September 2, 2006, 11:59am UTC](https://forum.kirupa.com/t/refreshing-only-the-iframe/199433 "2006-09-02T11:59:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![staticwolf](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@staticwolf](https://forum.kirupa.com/u/staticwolf)\
**Post date:** [September 2, 2006, 11:59am UTC](https://forum.kirupa.com/t/refreshing-only-the-iframe/199433/1 "2006-09-02T11:59:13Z")

</div>

Hi,

In my main webpage, I’ve got an iframe that displays a page depending on whichever link I click. (hypothetically:home, about, contact… etc)

The problem is, if the current active iframe holds my about page, and I hit the refresh button on the browser, I get the home page iframe (which is programmed to be displayed initially with the main page).

So,  
Is there a way I can refresh the current iframe when I hit the refresh button?

It’d be great if I could get some help on this.
