0

How can we get the height of a iframe using javascript from within the iframe in firefox.

I have tried using window.innerHeight, but is returning the total window height

I need the height of the iframe not its parent window

Vamsi
  • 4,237
  • 7
  • 49
  • 74

1 Answers1

0

You can reference the iframe by its id, using something like:

document.getElementById('iframeId').innerHeight()
Aaron Marks
  • 375
  • 2
  • 7
  • 19