[thelist] Netscape and createElement

Hayer, Jagjeet Jagjeet.Hayer at softwareag.co.uk
Mon Nov 20 05:47:10 CST 2000


Hi all,

I am having problems with creating Options to dynamically populate a Select
box.

My code is :

objEntry0 =  document.createElement("OPTION");

from which I do either a .add or .remove on the select, for example:

document.form.select1.add(objEntry0);

or

document.form.select1.remove(objEntry0);

This works fine in IE but I am receiving a "document.createElement is not a
function" error message in Netscape.

Does anyone know of a workaround to this?

Cheers,

Jag.

The content of this e-mail is confidential, may contain privileged material
and is intended solely for the recipient(s) named above. If you receive this
in error, please notify Software AG immediately and delete this e-mail. 

Software AG (UK) Limited 
Registered in England & Wales 1310740 
Registered Office: Hudson House, Hudson Way, 
Pride Park, Derby DE24 8HS




More information about the thelist mailing list