I have a form element that I want to address via javascript, but it doesn't like the syntax.
<form name="mycache">
<input type="hidden" name="cache[m][2]">
I want to be able to say:
document.mycache.cache[m][2]
but obviously I need to indicate that cache[m][2]
is the whole name, and not an array reference to cache
. Can it be done?