Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] 1+1+1=111?


  • From: javascript@xxxxxxxxxx (McCoy, Thomas)
  • Subject: [Javascript] 1+1+1=111?
  • Date: Wed, 27 Jun 2001 11:04:56 -0700

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0FF33.AC482C80
Content-Type: text/plain;
	charset="iso-8859-1"

Hello all!
 
 
I am trying to create a form that uses client-side Javascript to sum
numerical data.
 
The form has six blanks where numbers are entered.  The seventh box will
display the mathematical total of the numbers entered in the six boxes.  So
far, I can only get the 7th box to either add the html tags together (not
what I want) or compile the numbers in the box (if the first six contain
1,2,3,4,5,6... I get 123456 in the Total box).  Any ideas, before I pull all
my hair out?
 
 
Sincerely,
Thomas McCoy

------_=_NextPart_001_01C0FF33.AC482C80
Content-Type: text/html;
	charset="iso-8859-1"

<!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.50.4522.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=867005917-27062001>Hello 
all!</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=867005917-27062001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=867005917-27062001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=867005917-27062001>I am trying to 
create a form that uses client-side&nbsp;Javascript to sum numerical 
data.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=867005917-27062001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=867005917-27062001>The form has six 
blanks where numbers are entered.&nbsp; The seventh box&nbsp;will&nbsp;display 
the mathematical total&nbsp;of the numbers entered in the&nbsp;six boxes.&nbsp; 
So far, I can only get the 7th box to either add the html tags together (not 
what I want) or compile the numbers&nbsp;in the box (if the first six contain 
1,2,3,4,5,6... I get 123456 in the Total box).&nbsp; Any ideas, before I pull 
all my hair out?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=867005917-27062001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=867005917-27062001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Sincerely,</FONT></DIV>
<DIV><FONT face=Arial size=2>Thomas McCoy</FONT></DIV></BODY></HTML>

------_=_NextPart_001_01C0FF33.AC482C80--