Your price is a text field with the "$" character in front.  Try parsing out
the integer for the quantity and parseFloat for the price.  


   <INPUT  CLASS="textboxsmallest" TYPE="text" NAME="Quantity1" SIZE="5"
   MAXLENGTH="5" VALUE="0"

> seFloat(order.Price1.value.substr(1,order.Price1.value.length-1)));">

-----Original Message-----
From: Eric Creese [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 2:13 PM
To: CF-Talk
Subject: RE: Still can not figure this out..._javascript_ Error

here is the source on the page for the first item, every thing appears fine.
Of course my eyes are bugging out at this point!

<tr>
  <td align=center CLASS="defaulttext">
   <INPUT  TYPE="hidden" NAME="Item1" SIZE="40" MAXLENGTH="80" VALUE="test
book">
   <SCRIPT
LANGUAGE="_javascript_">document.write(document.order.Item1.value);</SCRIPT>
  </td>
  <td align=center CLASS="defaulttext">
   <INPUT  CLASS="textboxsmallest" TYPE="text" NAME="Quantity1" SIZE="5"
MAXLENGTH="5" VALUE="0"
> der.Price1.value));">
  </td>
  <td align=center CLASS="defaulttext">
   <INPUT TYPE="hidden" NAME="Price1" SIZE="5" MAXLENGTH="5" VALUE="$7.00">
   <SCRIPT
LANGUAGE="_javascript_">document.write(document.order.Price1.value);</SCRIPT>
  </td>
  <td align=center CLASS="defaulttext">
   <INPUT CLASS="textboxsmall" TYPE="text" NAME="Subtotal1" SIZE="8"
MAXLENGTH="8" VALUE="0" >
  </td>
</tr>

  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to