| Author |
IFRAME
|
rudresh kumar
Ranch Hand
Joined: Jan 04, 2006
Posts: 81
|
posted

0
|
HI All, I have two Iframes, one is the has the menu and other loads the menu contents based on selection of menu. I would like to know how to fill the second Iframe from the URL(not by selection of Menu from first frame) http://localhost/frame2/address.jsp (like this ) Kindly do the needful THanks Rudresh
|
 |
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
|
|
You may set any URL programmatically using the src attribute of the iframe element, like this. var iframe = document.getElementById("myIFrame"); iframe.src = "http://..."; //any url
|
SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
|
 |
 |
|
|
subject: IFRAME
|
|
|