[Javascript] Adding an item to a select list from another window

Chris Tifer christ at saeweb.com
Thu Sep 25 10:37:53 CDT 2003


options[j].options[j] shouldn't update 2 things at once.

Those are the 2 options I'm talking about. That bit of code loses me, which
is why I'm sure the browser chokes on it too.

Chris Tifer
http://emailajoke.com


----- Original Message ----- 
From: "Robert Pollard" <rpollard at apple.com>
To: "[JavaScript List]" <javascript at LaTech.edu>
Sent: Thursday, September 25, 2003 11:27 AM
Subject: Re: [Javascript] Adding an item to a select list from another
window


> The first one updates the Select list's text and the other updates the
> Select list's value.
>
> Thanks,
>
> Robert
>
> On Thursday, September 25, 2003, at 06:07 AM, Chris Tifer wrote:
>
> >> It's good up until here.  This next line causes Explorer to
> >> unexpectedly quit.
> >>
> >> window.opener.document.forms[0].elements[aValue[i]].options[j].options
> >> [j
> >> ] = vFields;
> >
> >
> > I'm not particularly sure what you're doing here but what why are
> > there 2
> > options in a row?
> >
> > _______________________________________________
> > Javascript mailing list
> > Javascript at LaTech.edu
> > https://lists.LaTech.edu/mailman/listinfo/javascript
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list