How do you invoke javascript code in an iframe from parent page?

Posted by Jennifer | Updated on

How do you invoke javascript code in an iframe from parent page? Initially iFrame needs to be accessed using either document.getElementBy or window.frames. After that contentWindow property of iFrame gives the access for targetFunction


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers