Note that there are some explanatory texts on larger screens.

plurals
  1. POneed to host a div content in other webpage
    text
    copied!<p>I have two web pages like,</p> <h2>one.html</h2> <pre class="lang-html prettyprint-override"><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;Sample One&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;h2&gt;Welcome&lt;/h2&gt; &lt;div id="one"&gt;&lt;h3&gt;have fun&lt;/h3&gt;&lt;/div&gt; &lt;div style="background-color:#F0782A; width:200px"&gt; &lt;div id="content"&gt; no content &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Which is located in some where physically but not in solution.</p> <h2>two.aspx</h2> <pre class="lang-html prettyprint-override"><code>&lt;html&gt; &lt;head&gt; &lt;/head&gt; &lt;body&gt; &lt;h3&gt;Welcome to new work&lt;/h3&gt; &lt;div&gt; &lt;a href="two.html"&gt;another file&lt;/a&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Which is available in my solution.</p> <p>I want to place content of <code>&lt;body&gt;</code> tag from <code>two.aspx</code> into a <code>div</code> of <code>one.html</code> where <code>id="content"</code>.</p> <p>Note:</p> <ol> <li>I dont have access to <code>one.html</code> file but I can use <code>one.html</code> file location.</li> <li>If I run the solution, I should see <code>one.html</code> page with newly placed data.</li> </ol> <p>For Example: I have allocated a div in <code>www.yahoo.com</code> with an <code>id="newcontent"</code> and I have <code>two.aspx</code> file in my solution. Now I have to place <code>two.aspx</code> content into the div of <code>yahoo.com</code> where <code>id="newcontent"</code>.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload