I can access local contents loaded in an with
$("#frame").contents().find('div').css(...)
When using a instead (same local site), the contents function does not work.
Is there another way or did I miss something ?
Here follows the test code:
HTML:
JS:
$(document).ready(function() {
alert("go ?"); //temporary solution to wait until everything is loaded.
$("#frame").contents().find('div').css("background-color", "red"); //nothing appens
console.debug($("#frame").contents().find('div')); //nothing
});