![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveSimple totalling of a column with onChange()
From: charliefortune <google@charliefortune.com>
Date: Sat Apr 29 2006 - 20:20:00 CEST
Every time a field in an accounts form changes, an onChange =
function updateAmount(x){
the fields are called 'amount1', 'amount2', 'amount3' etc. and the
1. Is there a way to avoid having to pass the 'x' index. Surely the DOM
2. The parseFloat doesn't seem to work, is my syntax correct ?
Thank you
|