The above code is correct (obviously!)Code:oText = oForm.elements["text_element_name"]; OR
oText = oForm.elements[index];
However, is this possible?
It seems to work in IE (shock, horror) but not in FF or Chrome.Code:$page = "text_element_name";
oText = oForm.elements[$page];
I think FF and Chrome are reading it as
which is NOT what I want.Code:$page = "text_element_name";
oText = oForm.elements["$page"]; // note the invert commas around $page
Any ideas?
