File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jan 04, 2006
Jul 01, 2007 18:47:00
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)
(like this )
Kindly do the needful
Joined: Aug 26, 2001
Jul 01, 2007 20:50:00
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
My Linked In
I agree. Here's the link:
About page scope objects
Problem with visibility of interface class to implementation - JSP related
JSP Invoking another JSP in Iframe
Iframe space problem
Invoking java layer from JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015