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
SearchDomino.com's expert Brian Mahoney explains how to work around the default replication and form parameters of profile documents, so that the ... Continue Reading