I'm trying to get the height from an external page that is inside an embed tag with jQuery.
I also need to resize the embed tag when the content inside changes in height. I tried using the following code but it doesn't seem to work. What would be the best approach for this case?
HTML
<html>
<body>
<embed src="www.example.com" height="100%">
</body>
</html>
JavaScript
$('#test').height()
$('embed').height()