I have an offline HTML file, on which I am working with iframes. I was wondering if there is a way to refresh the page from the iframe clicking on a button? The current page is on the home page domain. I would need to reload the current page. This is what I have so far http://jsfiddle.net/3jkbadr3/1/ I just entered a generic iframe address (jsfiddle home page), which opens in iframe, for testing.
<div class="iframe_box">
<iframe id="iframe1" frameborder="0" name="iframe1" src="http://jsfiddle.net/"></iframe>
</div>
<div class="menu">
<div class="button-wrapper">
<button id="refresh_btn" title="Refresh Current Page" onclick="resetIframe1();">Home Page</button>
</div>
</div>
Thanks!