im trying to load a specific div from a different webpage.
<div id="result">Loading</div>
<script>
$( "#result" ).load("http://bte.gep.msess.gov.pt/pesquisa_avancada.php #boxinterior" );
</script>
I already tried with jquery and with javascript but its not working properly, as it should. Any ideias? The #boxinterior is the div from the other website.
EDIT
its not showing me the div as it should and its giving me a
XMLHttpRequest cannot load http://bte.gep.msess.gov.pt/pesquisa_avancada.php. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.