[thelist] Problem accessing for values with []
thelist at cjmarsh.com
thelist at cjmarsh.com
Thu Feb 10 17:24:37 CST 2005
> >I'm on to my second odd problem! I've got a javascript file
> that needs
> >to make reference to the following form:
> >document.myform.form[fieldname].value
> >
> >But:
> >alert('val: ' + document.main.form[journal].value);
Should that not be:
alert('val: ' + document.main.form['journal'].value);
Regards
Chris Marsh
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005
More information about the thelist
mailing list