I'm working on a page generated by PHP, and all the form fields are named
as b[fieldname]. (e.g. <input type=text name='b[name]' value='Adam'>).
Javascript seems to barf on this (document.formn ame.b[name].length is
undefined ). Is there any way to get this to work with arrays, or do I
just need to use those fields referenced in the js as non-arrays?
Thanks,
Greg
as b[fieldname]. (e.g. <input type=text name='b[name]' value='Adam'>).
Javascript seems to barf on this (document.formn ame.b[name].length is
undefined ). Is there any way to get this to work with arrays, or do I
just need to use those fields referenced in the js as non-arrays?
Thanks,
Greg
Comment