Possible Duplicate:
How to change window title from a frame in javascript?
In my index.html file I have 3 frames.
I want to change the title of index.html from one of the pages in frames.
How could this be done by using JavaScript?
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.
Yes, but it has to be on the same domain (and use a relative url for a path)
If the iframe/frame is on a different domain, then you’ll get a permission denied error.
If the above fails, use
use
top.document.title(top refers to the top most window within the browser)