Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

iframe src replace with variable instead of URL

3174772Mar 28 2016 — edited Mar 29 2016

Hi All,

I want to replace iframe src with a variable instead of URL. For ex:

            var protocol = "http";

            var host = "127.0.0.1:7101";

            var pathname = "IOTGenealogy-UI-context-root/faces/oracle/apps/iot/genealogy/ui/page/main.jsf"

            var URL = protocol+ "://" + host + "/" + pathname;

and

How can i set URL variable instead of  "<iframe src="http://127.0.0.1:7101/IOTGenealogy-UI-context-root/faces/oracle/apps/iot/genealogy/ui/page/main.jsf" style="height:800px;width:1800px" id="if1"></iframe>"

I am using jdeveloper 12.2.1 version.

Regards

Chinmayee

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 26 2016
Added on Mar 28 2016
4 comments
814 views