Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: how do I compare diferent object types?


Message #1 by "lilia lopez" <lilialopez47@h...> on Wed, 18 Dec 2002 15:12:19 +0000
	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...
>

  Return to Index