[thelist] Javascript orderform speed issue

Christian Heilmann codepo8 at gmail.com
Mon Mar 6 06:22:33 CST 2006


> You still need only compute the values in the fields in the touched
> object. There is not a case that I can think of where you need to loop
> through every input field, unless fields have starting values whe the
> page is loaded (even then, you could get around it).

Why not a keyup handler on the current field that updates the total?
You need to store the initial value on focus to substract the value if
it is smaller than the inital one.




--
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/



More information about the thelist mailing list