Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- Accessing fieldnames that are an array


figment88 - 4:54 pm on Jun 20, 2006 (gmt 0)


Thanks for the pointer, I found wehat I needed. Turns out the proper notation is

document.MyForm.elements['widgets[]']

So, I can access values like

document.MyForm.elements['widgets[]'][1].value


Thread source:: http://www.webmasterworld.com/javascript/5594.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com