Welcome Guest Search | Active Topics | Sign In | Register

IFrame inside of a SplitterPane Options
ddurango
Posted: Thursday, August 21, 2008 8:08:20 AM
Rank: Member
Groups: Member

Joined: 11/16/2007
Posts: 18
I have a splitter (orientation=vertical) on a page and on the right side I have an IFrame inside the SplitterPane, I want to reload the IFrame using a button on the left side but I can't refer to the IFrame control since is inside the SplitterPane is not finding the iFrame ID

function Reload() {
var f = document.getElementById('iFrame1');
f.src = f.src;
}

How can I refer to the IFrame control using JavaScript. I and know this may be more of a javascript knowledge but any help will be appreciated.

Thanks in advance!
eo_support
Posted: Thursday, August 21, 2008 8:13:36 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Hi,

Your code looks fine to us. Splitter does not change anything about iframe. So you would just use it the same way as if there were no splitters.

You may want to try use window.open. That supposes to work too, and you do not have to get the iframe element that way.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.