PDA

View Full Version : iFrame+Tab issue



chaitanyadotcom
11-05-2008, 09:16 PM
I was trying to dynamically generate iFrame. There are 3 href and when
you click on the first href, iFrame is populated in new Tab. And i
made respective changes to href i opened. Now i tried to open 2nd
href, and suprisingly the first href is also reloaded with the second
one.

Could anybody help me out in this issue,

document.getElementById("tabContent").innerHTML += "<div id =
'frmContainer" + tabCounter + "'><iframe onload = " + frameOnload + "
name = 'frame" + tabCounter + "' src = '" + this.url + "' width =
'100%' height = '2000' scrolling = 'no'></iframe></div>" ;

Thanks,
Chaitanya

Jesdisciple
11-06-2008, 02:50 AM
You haven't provided sufficient info for us to help you. Please link to your page which exhibits the problem.