> -----Original Message-----
> From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of =
Aidan
> Sent: 20 November 2007 22:45
> To: FN-FORUM / [EMAIL REMOVED]
> Subject: RE: FN-FORUM: IE inner.HTML workaround?
>=20
>=20
>=20
>=20
> > -----Original Message-----
> > From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of =
Juraj
> > Seffer
> > Sent: 20 November 2007 20:01
> > To: FN-FORUM / [EMAIL REMOVED]
> > Subject: FN-FORUM: IE inner.HTML workaround?
> >
> >
> > Hi all,
> >
> > What is the best solution to work around bug in Internet Explorer
> > preventing you to amend inner.HTML?
> > I have AJAX which replaces elements inside , it =
works
> > fine in FF, Opera and Safari but IE fails.
> >
> > Is the below the best way?
> >
> > var opt =3D document.createElement("option");
> > opt.innerHTML =3D "text of the option";
> > opt.value =3D "0=1B$B!m=1B(B;
> > document.getElementByID("mysel").appendChild(opt);
> >
>=20
> You should be using opt.text =3D "text of the option"; to change the =
actual
> value of the option.
I meant text of the option. Opt.value will change the value. It's that
time of night again
=20