To set yourName to the value of the field "yourname" of the myForm form in the iframe, try this.
var iframe = document.getElementById
var iframeDoc = iframe.Document;
var iframeForm = iframeDoc.
var yourName = iframeForm.
Do you have comments on this Ask the Expert Q&A? Let us know.
This was first published in February 2004