Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var ifr = document.getElementById( yourIframeId );
- var ifrDoc = ifr.contentDocument || ifr.contentWindow.document;
- var theForm = ifrDoc.getElementById( yourFormId );
- myframe.document.getElementById("myform") // gives you the form element
Add Comment
Please, Sign In to add comment