...

View Full Version : load a url in a iframe



atferraz
08-27-2004, 01:40 PM
hello

I,ve this iframe in my page with another page loaded in it. How can I load another page from within that second page.

I've tried this:

document.getElementById("myIframeId").src="url" from a button but didn't work at all.
I can identify the iframe id with

document.getElementById("myIframeId").id

but just wont work.

thanks

Willy Duitt
08-27-2004, 02:05 PM
Use location or href as opposed too src....



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum