RE: nested references and javascript

2002-10-11 Thread Arron Bates
or even... document.forms["myForm"]["foo.bar"].value The ".elements" bit is optional. Arron. On Fri, 2002-10-11 at 15:23, Steve Widmar wrote: > D'oh! > > (as in 'Doh yeah') > > no wonder it wasn't in the archives; well, it is now (or should be soon). > > Thanks, James. > > >>> [EMAIL PRO

RE: nested references and javascript

2002-10-10 Thread Steve Widmar
D'oh! (as in 'Doh yeah') no wonder it wasn't in the archives; well, it is now (or should be soon). Thanks, James. >>> [EMAIL PROTECTED] 10/10/02 09:27PM >>> You can use an alternate sytax. Example: Number(document.forms["myForm"].elements["foo.bar"].value); or Number(document.forms[0].eleme

RE: nested references and javascript

2002-10-10 Thread James Mitchell
You can use an alternate sytax. Example: Number(document.forms["myForm"].elements["foo.bar"].value); or Number(document.forms[0].elements["foo.bar"].value); James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org > -Original Message- > From: Steve Widmar [mailto