Witam,
Mam następujące problem. Mam stronę i mam kolejną stronę wyświetlaną w elemencie iframe. Chciałbym dostać się do elementu strony wyświetlanej w iframe i robię to tak.
<iframe id="myframe1" src="potomna.html" width="1050" height="1100"></iframe>;
<script>
var divElement = document.getElementById('myframe1').contentWindow.document.getElementById('identyfikator');
document.write(divElement);
</script>
Niestety javascript wyświetla mi null, w stronie potomnej jest input element z określonym value. Mógłby ktoś pomóc ?