I want to find out the height and width of right frame in iframe that is included in left frame.
main.html
Expand|Select|Wrap|Line Numbers
- <html>
- <frameset cols="15%, *" id="fs1">
- <frame src="left.html" name="left" frameborder="1" id=leftId >
- <frame src="right.html" name="right" frameborder="1" id=rightId>
- </frameset>
- </html>
left.html
Expand|Select|Wrap|Line Numbers
- <html>
- <head>
- </head>
- <body>
- <iframe src ="iframe_test.html" width="100%" height="300px">
- </iframe>
- </body>
- </html>
iframe_test.html
Expand|Select|Wrap|Line Numbers
- <html>
- <head>
- <script>
- // Here i want to find out the height and width of right frame
- </script>
- </head>
- </html>