---
title: "Reload an IFram with jQuery"
author: "boogie"
date: "2008-10-02T09:13:40Z"
tags: []
slug: "reload-an-ifram-with-jquery"
draft: false
lastmod: "2008-10-02T09:13:40Z"
id: 248507
url: "https://boogie.iteye.com/blog/248507"
---

Accessing the `contentWindow` property to obtain the `location` object.

```
$('#iframe').each(function() {
 this.contentWindow.location.reload(true);
});

```

## Callback for `IFrame` Loading

With the `onload` event, your code is called when an `IFrame` has finished loading.

$('#iframe').load(function() { // do something });

```

```