Hello all ...
i have some problem with this function when i call getElementsById there is no answer ... like this
there is an alert undeifined
i don't know how i can do it i have my own project for my university i'll be thank if you solve it for me ...
i have some problem with this function when i call getElementsById there is no answer ... like this
Code:
<html>
<head>
<body bgcolor="#999999">
<iframe name="iframe" id="iframe" src="Page2.asp"</iframe>
<script>
var mm = document.getElementById("iframe").contentDocument.forms['emailtoken'];
alert(mm);
</script>
</head>
</body>
</html>
there is an alert undeifined
i don't know how i can do it i have my own project for my university i'll be thank if you solve it for me ...