Use firebug to determine if you get an element in a watch expression or not. You must access an iFrame like this
<form name="formname" .... id="form-first"> <iframe id="one" src="iframe2.html"> </iframe> </form> function iframeRef( frameRef ) { return frameRef.contentWindow ? frameRef.contentWindow.document : frameRef.contentDocument } var inside = iframeRef( document.getElementById('one') )
source share