I am making some javascript that updates some text input fields. But I have them names such that it is easy to put them into arrays in PHP for updating the database, but javascript is having a heck of a time with it.
Example, one input field name is "update_totals[2][title]"
but if I try to update or view that fields value in javascript, it does not want to work. for example the following in JS doesn't work:
document.myform.update_totals[2][title].value
any ideas how I can keep my field names as they are, and be able to use them in JS too?