32
rated 0 times
[
35]
[
3]
/ answers: 1 / hits: 35684
/ 14 Years ago, tue, january 18, 2011, 12:00:00
I'm trying to get innerHTML of a DIV that is located on external page. It is possible to do this using this kind javascript code?
<script type=text/javascript>
$(document).ready(function(){
var html = document.getElementById(glr1).src='/my_page.html'.innerHTML ;
alert(html);
});
</script>
More From » jquery