Why i can't hide this content from an iframe:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>contents demo</title>
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
</head>
<body>
<iframe src="//api.jquery.com/" width="80%" height="600" id="frameDemo"></iframe>
<script>
$('#frameDemo').contents().find('#logo-events').hide();
</script>
</body>
</html>
Why this is not working?
Thanks.