... <iframe name="frejm" src="neki.html"></iframe> ... <script type="text/javascript"> ... var forme = window.frames['frejm'].document.body.getElementsByTagName('form'); ... </script>