I'm able to get the 'src' attribute of an using .src
. But I cannot get the contents that are located in another domain. Is this a browser security problem?
jQuery(document).ready(function() {
var elementTest = $("iframe:first").get(0);
alert(elementTest.src); // ok
alert(elementTest.innerHTML); // not ok
});