I searched over google as well as few answers from stackoverflow but none of teh solution worked for me. Is there any working solution available ,
Thanks you very much
Rohit.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The IFRAME need to send to the main page its body size.
For modern browsers you can use
parent.postMessagefrom the IFRAME and have a listener in the main page to receive the value and resize the IFRAME.For older browsers you can use tricks like passing data i.e. through
windows.nameor thewindow.location.hashBut with those tricks you will have to poll with a
setIntervalto check for changes.