If you have HTML
<form name="formname" .... id="form-first"> <iframe id="one" src="iframe2.html"> </iframe> </form>
and javascript
function iframeRef( frameRef ) { return frameRef.contentWindow ? frameRef.contentWindow.document : frameRef.contentDocument } var inside = iframeRef( document.getElementById('one') )
inside now a link to the document, so you can do getElementsByTagName('textarea') and whatever you want, depending on what's inside the iframe src.
meder omuraliev Sep 21 '09 at 4:20 2009-09-21 04:20
source share