Re: change text field from within an iframe
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: change text field from within an iframe

From: sid derra <ng_at_emolife.net@arcor.de>
Date: Fri Mar 31 2006 - 18:48:36 CEST

"Erwin Moller"
<since_humans_read_this_I_am_spammed_too_much@spamyourself.com> wrote in
message news:442d3897$0$11061$e4fe514c@news.xs4all.nl...
> sid derra wrote:
>> i also have tried "frames[0]" and "parent" instead of "top". no success.
>
> I guess you made a typo here because it still says parent.

in fact, i did ;-)

> did you try:
> parent.frames["page"].document.forms["test_form"].test_field.value= ...

i did now, no luck though unfortunately. the html source now says

<script language="javascript">
parent.frames["page"].document.forms["test_form"].test_field.value = 'page X
loaded';
</script>

> Regards,
> Erwin Moller

still - thank you!
Received on Mon May 1 04:34:26 2006