<html><div style='background-color:'><DIV class=RTE>
<P>Hi Scott,</P>
<P>All I am trying to do, if the value is undefined, is set it to zero, so that it does not break the adding up of the other value. I just cannot seem to catch the undefined status and then set the value to zero.......any ideas.......<BR><BR></P></DIV>
<DIV></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">
<HR color=#a0c6e5 SIZE=1>

<DIV></DIV>From:&nbsp;&nbsp;<I>Scott Reynen &lt;scott@randomchaos.com&gt;</I><BR>Reply-To:&nbsp;&nbsp;<I>"\[JavaScript List\]" &lt;javascript@LaTech.edu&gt;</I><BR>To:&nbsp;&nbsp;<I>"\[JavaScript List\]" &lt;javascript@LaTech.edu&gt;</I><BR>Subject:&nbsp;&nbsp;<I>Re: [Javascript] Adding values in input boxes</I><BR>Date:&nbsp;&nbsp;<I>Thu, 1 Jun 2006 08:52:36 -0500</I><BR>&gt;On Jun 1, 2006, at 8:41 AM, Alan Easton wrote:<BR>&gt;<BR>&gt;&gt;I simply want to be able to add up the 3 boxes when any of them&nbsp;&nbsp;<BR>&gt;&gt;change, but also catch when nothing has been entered.i.e. when the&nbsp;&nbsp;<BR>&gt;&gt;value is undefined.<BR>&gt;<BR>&gt;What do you want to happen when you catch undefined values?&nbsp;&nbsp;I do&nbsp;&nbsp;<BR>&gt;this in an auto-adding page:<BR>&gt;<BR>&gt;valueOne = parseFloat( inputField.value );<BR>&gt;if ( isNaN( valueOne ) ) valueOne = 
0;<BR>&gt;<BR>&gt;Peace,<BR>&gt;Scott<BR>&gt;<BR>&gt;_______________________________________________<BR>&gt;Javascript mailing list<BR>&gt;Javascript@LaTech.edu<BR>&gt;https://lists.LaTech.edu/mailman/listinfo/javascript<BR></FONT></BLOCKQUOTE></div></html>