Re: [PHP] Gridwidget - javascript

2003-01-17 Thread Jason Wong
On Saturday 18 January 2003 10:50, David Rice wrote: > > I'm trying to write a grid widget in php. When the user changes the > > value of > > a cell the totals must be recalculated at the client side. > > I can write a javascript when I use simple variables like A1, B1. > > > > > onChange="njreca

Re: [PHP] Gridwidget - javascript

2003-01-17 Thread David Rice
Hi: I believe that if you reference the form element like: document.forms['mycell[]'].value you will get what you want. HTH David On Friday, January 17, 2003, at 08:33 PM, Nico Jansen - NiRo IT Consultants B.V. wrote: Hi all, I'm trying to write a grid widget in php. When the user changes th

[PHP] Gridwidget - javascript

2003-01-17 Thread Nico Jansen - NiRo IT Consultants B.V.
Hi all, I'm trying to write a grid widget in php. When the user changes the value of a cell the totals must be recalculated at the client side. I can write a javascript when I use simple variables like A1, B1. This javascript will do the trick: function njrecalculate() { document.forms[