0

How link another files code in second program

17th Jan 2017, 1:11 PM
Amol Kuchekar
Amol Kuchekar - avatar
3 Answers
+ 7
<iframe src="url" />
17th Jan 2017, 1:43 PM
Valen.H. ~
Valen.H. ~ - avatar
0
HTML does not have a native option for this. To include an HTML document within an HTML document, use Javascript. jQuery has a .load() method that can push its get content to DOM.
17th Jan 2017, 1:19 PM
Louis Milotte
Louis Milotte - avatar
0
iframe content isn't truly part of the page, it's affected by it's own native scripts and immune to the parents scripts and requires a cumbersome work around for the above to not be true. jquery and regular javascript GET requests for pages scrapes content into the dom.
17th Jan 2017, 2:04 PM
Louis Milotte
Louis Milotte - avatar