[ Date Index ]
[ Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
Re: [LUG] Some help with javascript & firefox
I'll try and have a closer look at your problem a little later on and see if I can spot the difficulty.
Ok, I'm just looking at it now. I'm assuming the error you're trying to fix is the one on line 107?
You're on the right track. I think the best way to do it would be to construct the name string, and then eval it. So something along the lines of:
var one = 'document.splitfm.vat_low' + i + '.value';
var sum = eval(vatlow);
I haven't tested that at all, but it should do the trick.
--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html