How to get the height and width of an iframe, executing a script from
outside the iframe?
I want to find its dimensions.
Javascript solutions welcomed.
Using pure javascript:
document.getElementsByTagName('iframe')[0].getAttribute('width');
document.getElementsByTagName('iframe')[0].getAttribute('height');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With