Since you are so sure, you can use alert() to test what you're
comparing. Test their types using typeof and their value before the
if-clause :
alert(typeof frmPass.selTipoServ.options[i].value)
alert(frmPass.selTipoServ.options[i].value)
alert(typeof g_cencos.serv)
alert(g_cencos.serv)
> -----Message d'origine-----
> De : lilia lopez [mailto:lilialopez47@h...]
> Envoy=C3=A9 : mercredi 18 d=C3=A9cembre 2002 17:28
> =C3=80 : javascript
> Objet : [javascript] RE: how do I compare diferent object types?
>
>
> No, I don't think so, because I have another select option
> lists, and the
> funcionallity is right...
>