JavaScript Reference/Javascript Properties/height 2
"height" Example
<source lang="javascript">
<html> <body> <button onclick="alert(screen.height);">Screen Height</button> </body> </html>
</source>
"height" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |document event | | |screen | +----------------+--------------------------------------------------------------+
</source>
"height" Syntax and Note
<source lang="javascript">
Note: Read-only property. Returns the object height in pixels.
Syntax:
objectName.height
</source>