load div from another page with jquery
<p>i would like to load a div from a page in my page with jquery</p>

<p>Here is a <a href="https://jsfiddle.net/kodjoe/y5pfm4ay/" rel="nofollow noreferrer">Jsfiddle</a> but it doesn't work, what is wrong in my code ?</p>

<p>In my example I'm using</p>

<pre><code>$('.namebook1origin').load($('http://www.booclin.ovh/tom/last/update.html #namebook1'));
</code></pre>

<p>but in my page I'm using</p>

<pre><code>$('.namebook1origin').load($('update.html #namebook1'));
</code></pre>

<p><br><br>
Here is a live example</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>$('.namebook1origin').load($('http://www.booclin.ovh/tom/last/update.html #namebook1'));
$('.namebook2origin').load($('http://www.booclin.ovh/tom/last/update.html #namebook2'));
$('.namebook3origin').load($('http://www.booclin.ovh/tom/last/update.html #namebook3'));
$('.namebook4origin').load($('http://www.booclin.ovh/tom/last/update.html #namebook4'));</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
&lt;span class="namebook1origin"&gt;.&lt;/span&gt;&lt;br/&gt;
    
&lt;span class="namebook2origin"&gt;.&lt;/span&gt;&lt;br/&gt;
    
&lt;span class="namebook3origin"&gt;.&lt;/span&gt;&lt;br/&gt; 
    
&lt;span class="namebook4origin"&gt;.&lt;/span&gt;&lt;br/&gt;</code></pre>
</div>
</div>
</p>