jquery .load() does not load a table from xy.html but loads from xy.php (same table with same id)
<p>So my question is the following, i want to load a table with id="tabla" into my php page from tapany.html, it does not work, BUT if I load it from tabla.php (the same table with same id) it works perfectly, why?</p>

<p>It would be great if it loads from tapany.html then all files would be in one file</p>

<pre><code>$("#tapany").load("tabla.php #tabla"); &lt;- the working one
$("#tapany").load("tapany.html #tabla);
</code></pre>
