I usually use "getElementById()" to detect internal file data . I tried this to detect data from an external file but its not work :
<script>
var outterPage ="dom1.html";
var temp=outterPage.getElementById("abc").innerHTML;
</script>
what can i do to detect data from external file ?