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] I.E.: 1+1=1. Worse yet, Netscape: 1+1 =___


  • From: javascript@xxxxxxxxxx (McCoy, Thomas)
  • Subject: [Javascript] I.E.: 1+1=1. Worse yet, Netscape: 1+1 =___
  • Date: Wed, 27 Jun 2001 14:29:24 -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_01C0FF50.3C451200
Content-Type: text/plain;
	charset="iso-8859-1"

Many thanks go to Peter Brunone for your help, however...
 
 
I updated the code, but things still don't "add up"   (okay, bad joke).
 
Whichever box I enter a number into first is never added to the total...
unless I go back and retype that number once addition has begun.  Also, the
script seems to be completely ignored by Netscape 4.7.  I tried setting an
"initial value" of "0" for each form element, hoping that a change from zero
would trigger a response from the JavaScript.  It did not.  The newer
version of the form can be tested at
<http://www.city.newport-beach.ca.us/nbpl/literacyform04.htm>
http://www.city.newport-beach.ca.us/nbpl/literacyform04.htm.  Thanks again
for your expertise and time!
 
 
Sincerely,
Thomas McCoy (amateur JS programmer)

------_=_NextPart_001_01C0FF50.3C451200
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>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=442534320-27062001><FONT face=Arial size=2>Many thanks&nbsp;go 
to&nbsp;<FONT face=Tahoma>Peter Brunone </FONT>for your help, 
however...</FONT></SPAN></DIV>
<DIV><SPAN class=442534320-27062001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=442534320-27062001></SPAN>&nbsp;</DIV>
<DIV><SPAN class=442534320-27062001><FONT face=Arial size=2>I updated the code, 
but things still don't "add up"&nbsp; &nbsp;(okay, bad 
joke).</FONT></SPAN></DIV>
<DIV><SPAN class=442534320-27062001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=442534320-27062001><FONT face=Arial size=2>Whichever box 
I&nbsp;enter a number into first is never added to the total... unless I go back 
and retype that number once addition has begun.&nbsp; Also, the script seems to 
be completely ignored by Netscape 4.7.&nbsp; </FONT></SPAN><SPAN 
class=442534320-27062001><FONT face=Arial size=2>I tried setting an "initial 
value" of "0" for each form element, hoping that a change from zero would 
trigger a response from the&nbsp;JavaScript.&nbsp; It did not.&nbsp; 
</FONT></SPAN><SPAN class=442534320-27062001><SPAN 
class=442534320-27062001><FONT face=Arial size=2>The newer version of the form 
can be tested at&nbsp; </FONT></SPAN><SPAN class=442534320-27062001><FONT 
face=Arial size=2><A 
href="http://www.city.newport-beach.ca.us/nbpl/literacyform04.htm";><FONT 
color=#000000>http://www.city.newport-beach.ca.us/nbpl/literacyform04.htm</FONT></A>.&nbsp; 
Thanks again for your expertise and time!</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=442534320-27062001><SPAN class=442534320-27062001><FONT 
face=Arial size=2></FONT></SPAN></SPAN>&nbsp;</DIV>
<DIV><SPAN class=442534320-27062001><SPAN class=442534320-27062001><FONT 
face=Arial size=2></FONT></SPAN></SPAN>&nbsp;</DIV>
<DIV><SPAN class=442534320-27062001><SPAN class=442534320-27062001><FONT 
face=Arial size=2>Sincerely,</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=442534320-27062001><SPAN class=442534320-27062001><FONT 
face=Arial size=2>Thomas McCoy (amateur JS 
programmer)</FONT></SPAN></SPAN></DIV></BODY></HTML>

------_=_NextPart_001_01C0FF50.3C451200--