<!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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=452592001-11082001></SPAN></FONT>&nbsp;</DIV>
<DIV><SPAN class=452592001-11082001><FONT color=#0000ff face=Arial size=2>here 
is the code:</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=452592001-11082001></SPAN>&nbsp;</DIV>
<DIV><SPAN class=452592001-11082001>&nbsp;</SPAN>alert("0 
"+mydropdown.options[0].value);<BR>&nbsp;&nbsp;&nbsp;if(typeof 
mydropdown.options[0].value == 
undefined)<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;alert("found 
1")<BR>&nbsp;&nbsp;&nbsp;&nbsp;myvalue1 = 
NULL;<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;if(typeof 
mydropdown.options[0].value == 
undefined)<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;alert("found x 
1")<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;if(typeof 
mydropdown.options[0].value === 
undefined)<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;alert("found x 
2")<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;if(mydropdown.options[0].value 
== undefined)<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;alert("found x 
3")<BR>&nbsp;&nbsp;&nbsp;}</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;if(typeof mydropdown.options[0].value != undefined || 
mydropdown.options[0].value != "unde" 
)<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;myvalue1 = 
mydropdown.options[0].value;<BR>&nbsp;&nbsp;&nbsp;}</DIV></BODY></HTML>