<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.00.3103.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=452592001-11082001><FONT color=#0000ff face=Arial size=2>non of
these if statements catch the undefined</FONT></SPAN></DIV>
<DIV><SPAN class=452592001-11082001></SPAN> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=452592001-11082001>but
the alert reports 0 undefined.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=452592001-11082001>so
what's up.... is there a type???</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=452592001-11082001></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=452592001-11082001></SPAN></FONT> </DIV>
<DIV><SPAN class=452592001-11082001><FONT color=#0000ff face=Arial size=2>here
is the code:</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=452592001-11082001></SPAN> </DIV>
<DIV><SPAN class=452592001-11082001> </SPAN>alert("0
"+mydropdown.options[0].value);<BR> if(typeof
mydropdown.options[0].value ==
undefined)<BR> {<BR> alert("found
1")<BR> myvalue1 =
NULL;<BR> }<BR> if(typeof
mydropdown.options[0].value ==
undefined)<BR> {<BR> alert("found x
1")<BR> }<BR> if(typeof
mydropdown.options[0].value ===
undefined)<BR> {<BR> alert("found x
2")<BR> }<BR> if(mydropdown.options[0].value
== undefined)<BR> {<BR> alert("found x
3")<BR> }</DIV>
<DIV> </DIV>
<DIV> if(typeof mydropdown.options[0].value != undefined ||
mydropdown.options[0].value != "unde"
)<BR> {<BR> myvalue1 =
mydropdown.options[0].value;<BR> }</DIV></BODY></HTML>