I want to run an iframe on my page, but display the current URL of the iframe in a div above it. Is something like this possible?
Its simple! <div id="o"></div> <iframe src="[COLOR="Red"]URL[/COLOR]" id="i"></iframe> <input type="button" value="Get!" onclick="javascript:document.getElementById('o').innerHTML=document.getElementById('i').src"> Code (markup):
My users are surfing in the iframe. Just getting the src value only gives the original value. I found a good work around though. Thanks for the input!!
Hi, I was just wondering if you would share the workaround you found. I am still trying to find a work around. Much appreciated. Thanks