Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Firefox - write to form boxes


  • From: skyscanner at eircom.net (SkyScanner)
  • Subject: [Javascript] Firefox - write to form boxes
  • Date: Thu Nov 3 13:03:46 2005

Thanks - I guess I was just getting lazy writing 'minimum code'. My
Javascript book (QUE Using JavaScript by Paul McFedries) says it is OK to do
things like that, and IE is quite happy, but obviously FF is not impressed.

Tim in Ireland


----- Original Message ----- 
From: "diego nunes" <dnunes@xxxxxxxxx>

    Because your code is simply wrong.

    "parent.map.F7"? What does it means? "parent" object doesn't have
a property called "map". This code will never work.

    Try this:

window.parent.frames['map'].document.forms['F7'].elements['box1'].value='bla
bla';

  Amplexos.

On 03/11/05, SkyScanner <skyscanner@xxxxxxxxxx> wrote:
> parent.map.F7.box1.value = 'Test1';
>
> Viewing the above link in Internet Explorer, and clicking on the button,
> writes the values into the form boxes, but with FireFox it doesn't. Why?