I have created a dynamic html page and I open it in home.html page by clicking on open the content of dynamic html page in text editor. When i edit the content in text editor i want those changes to appear in the dynamic html page automatically
I have created dynamic html page content
<h1>This is my first content</h1>
<h2>This is my first content</h2>
<h3>This is my first content</h3>
<h4>This is my first content</h4>
<h5>This is my first content</h5>
AND i opened in home.html
$(function () {
load_home();
});
function load_home() {
document.getElementById("content").innerHTML='<object style="width:100%; height:1000px; overflow-y:hidden;" type="text/html" data="Responce.html" ></object>';
}
AND i opened the content in iframe by click on edit button
<iframe id="texteditor" src="Responce.html" name="texteditor" style="width: 100%; height: 74%;"></iframe>
When i edit the content in text editor i want the changes to show in the dynamic html page automatically.