Well, gosh, if it worked then I should credit Josh Petrin for supplying
the
"move-the-option-adding-function-to-the-doc-which-contains-the-select"
solution. He did so on 3/28/00 in the "Populating 'window.opener'" email
thread.
-David
"Lomvardias, Christopher" <[EMAIL PROTECTED]> writes:
> David,
> Thanks...that was a good idea and solved my problem!
> -----Original Message-----
> From: David Shadovitz [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 07, 2000 1:05 AM
> To: [EMAIL PROTECTED]
> Subject: Re: IE JavaScript problem
>
>
> Chris,
>
> I'm not sure why you're getting the error (Jeff, where are you?),
> but I
> recommend that you move the SelectEntity function from the frame #1
> document into the frame #2 document, and call it from the frame #1
> document.
>
> -David
>
> On Thu, 6 Apr 2000 Lomvardias, Christopher writes:
> > I'm having a browser compatibility problem.
> >
> > Each time I click on a record (from an a href onclick in frame
> #1),
> > it fires off the SelectEntity() function and is supposed to add
> the
> selected
> > record to a select box named "avlList" in frame #2.
> >
> > Anyone have any idea why this won't work in IE5 but does in NS4.7?
> >
> > //clear select box on page load
> > parent.RightSide.document.DataForm.avlList.options.length = 0;
> >
> > //populate select box when user selects records from record list
> > function SelectEntity(UCode,UValue) {
> > var target =
> > parent.RightSide.document.DataForm.avlList.options.length-1;
> > NewOpt = new Option;
> > NewOpt.value = UCode;
> > NewOpt.text = UValue;
> >
> parent.RightSide.document.DataForm.avlList.options[target+1]
> > =
> > NewOpt;
> > }
________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk! For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.