- Code: Select all
$_POST['pages'][$id]['title] = $title;
$_POST['pages'][$id]['pages_author'] = $author;
i mean there are arrays of ids and names of fields, that a named like "pages[80][title]", "pages[80][pages_author]" (80 - it's and example id) and so on
and because of this i can not use them in any JavaScript code for inserting a value like :
- Code: Select all
document.forms[0].ITEMID.value = ...
because all ITEMIDs contain several "[" and "]"...
is there any possibility to contact fileds with such names by a JS or to rewrite a code
not to use this kind of naming fileds


