On a Web page I am displaying a form using iframe. On clicking one event (outside the iframe), I want to access...
To set yourName to the value of the field "yourname" of the myForm form in the iframe, try this.
var iframe = document.getElementById ("myFrame"); var iframeDoc = iframe.Document; var iframeForm = iframeDoc. getElementById("myForm"); var yourName = iframeForm. yourname.value;
Do you have comments on this Ask the Expert Q&A? Let us know.
Related Q&A from Brian Mahoney
Find out what types of calculations can be computed for a column in a Lotus Notes view and the best way to go about it with this expert response.continue reading
Find out why you can't use Formula language to include a doclink to a specific Lotus Notes view or database and need to use LotusScript instead.continue reading
Discover the reasons behind a Notes/Domino admistrator having trouble with disabled options in the "customize this view" section of his Lotus Notes ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.