Hi--
I have found a neat trick to refresh an iframe in an html page, but I just need one little twist to make it work just right. I would like to make the iframe content refresh just once, not matter how many times the link is clicked...
Right now, I have this in the head:
Quote:
<script type="text/javascript">
function refreshIframe(el) {
var f = document.getElementById(el)
var rsrc = f.src
f.src="about:blank"
f.src=rsrc
}
</script>
|
And this is the link which, when clicked, refreshes the iframe every time it is clicked:
Quote:
|
<a href="#page_7c" onclick="refreshIframe('test'); return false">
|
"test" is the id of the iframe.
I am sure how to do this is really simple, but it escapes me... Many thanks!