
Welcome Guest
|
#1
|
|||
|
|||
|
NAN problems
I am developing an online store in flash and
I am trying to change the qnty of an item when the customer presses the add to cart button, But I am just getting NAN no matter what I try. the origanal # being pull from a database. It doesn't recognize the number as a number.... the variable, pot_qnty, is a text field, but I have tried using a set veriable just for subtracting the qnty #, but it still tuns out NAN I have even tried the Number() function NAN the current code I have on the button is: stock = Math.floor(pot_qnty); pot_qnty = stock - 1; if (pot_qnty == 0) { pot_qnty = "sold out"; } the site URL http://www.mainepottersmarket.com/mpm.htm (still in dev.) any thoughts? thanks russ |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compatibility May Be Causing the Mac OS X Lion Problems with Flash | FlashMove | All Things Apple |
0 | 08-15-2011 02:31 PM |
| PUBLISHING PROBLEMS (Flash 8), PLEASE HELP!!! | Fragger | Newbies |
0 | 02-13-2008 04:06 PM |
| Movie Clip Problems | ScottRiley | Actionscript 2.0 |
1 | 02-07-2006 02:15 PM |
| external movie loaded problems | dirk | General Flash | 0 | 12-16-2005 05:56 PM |
| more php problems with flash - can you check this??? | jpwrunyan | Client Side | 0 | 07-16-2004 09:38 PM |




