[Phplib-users] When [] in OOHForm element, cannot use javascript
Brought to you by:
nhruby,
richardarcher
From: Ernest B. <Er...@Be...> - 2003-07-05 22:44:20
|
Hi, I am using ooh forms checkbox elements. It's a multiline same-named checkbox. I had to use for it's name something like "name"=>"test[]", so that PHP recognizes it as multiple value. But, I cannot access that element from javascript. Until now I used, document.formname.element[i] , but I cannot do this with the brackets in element name. Does anyone has a solution ? -- Ernest Beinrohr, OERNii eAdmin @ AxonPro.sk, http://www.AxonPro.sk +421-2-62410360, +421-903-482603 HomePage: http://www.OERNii.sk/ ----- "Be liberal in what you accept,and conservative in what you send." -- Postel |