Title: Function to refresh iframe
Last modified: August 20, 2016

---

# Function to refresh iframe

 *  [Luke](https://wordpress.org/support/users/lukejongibson/)
 * (@lukejongibson)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/function-to-refresh-iframe/)
 * Hello,
 * I’m a complete noob when it comes to wordpress functions, so I’m not even sure
   if this is possible. But I need a function to refresh the content inside an iframe
   on the click of a button.
 * Is this is possible and any ideas on how to do it?
 * Regards

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/function-to-refresh-iframe/#post-2871463)
 * [frameset](http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_frame_cols)
   works
 * My [hosted example](http://tree.swansonheritage.com/) (this is NOT a WP site,
   but a basic html site, just review the source code for it’s simplicity)
 *  Thread Starter [Luke](https://wordpress.org/support/users/lukejongibson/)
 * (@lukejongibson)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/function-to-refresh-iframe/#post-2871467)
 * Thanks for the reply, but not what I’m looking for, it’s for a shopping cart 
   button and the iframe contains shopping cart information that needs to be refreshed
   every time the customer adds a new product to the basket.
 * Framesets are not adequate for this.
 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/function-to-refresh-iframe/#post-2871470)
 * > ‘m a complete noob
 * That is not correct
 *  Thread Starter [Luke](https://wordpress.org/support/users/lukejongibson/)
 * (@lukejongibson)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/function-to-refresh-iframe/#post-2871472)
 * lol, that’s why the rest of the sentence was “…when it comes to [WordPress Functions](http://codex.wordpress.org/Function_Reference/add_action)”
   🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Function to refresh iframe’ is closed to new replies.

## Tags

 * [iframes](https://wordpress.org/support/topic-tag/iframes/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Luke](https://wordpress.org/support/users/lukejongibson/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/function-to-refresh-iframe/#post-2871472)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
