C
chaitanyadotcom
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
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