Hi Robert
Thank you this is exactly the idea. However in my form I want to add all the values in one column rather than do a sum for each row as you have done. I want the user to see the SUM before they do the submit to the database. I found this bit of code at your site. (There is a lot of code.) <input type="text" name=qty[] id=qty_1 value="0" onchange="update_prices()"style="font-family: Verdana, Helvetica, sans-serif;font-size: 9px;width: 25px;font-weight: normal;text-align: center;" /> But I couldn't find the javascript in the header? Would you be interestd in doing the javascript that I need? Janet _____ From: Robert Garcia [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 8:47 PM To: [email protected] Subject: Re: Witango-Talk: FW: client side calculator def javascript. You can probably rob some of the javascript I did here: http://www.binder-usa.com/ go to a section, like MINIATURE, and follow a product all the way down, til you see quantities and how to order. The javascript does sum, and also on the fly calculations and stuff. You can rob it right out of source. -- Robert Garcia President - BigHead Technology VP Application Development - eventpix.com 13653 West Park Dr Magalia, Ca 95954 ph: 530.645.4040 x222 fax: 530.645.4040 [EMAIL PROTECTED] - [EMAIL PROTECTED] http://bighead.net/ - http://eventpix.com/ On Apr 10, 2007, at 5:37 PM, quicknote wrote: The witango TAF is looping through an array. Each row creates a text box with a numerical value from the data base array. The user can change the values. How can I show the new SUM at the bottom without doing a SUBMIT. I imagine javascript is the answer. Does anyone have any experience with this? Or any suggestions? Thanks Janet ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
