[Typo3-dev] piVars and Javascript

René Fritz r.fritz at colorcube.de
Wed Jan 19 17:33:36 CET 2005


Am Mittwoch, 19. Januar 2005 17:11 schrieb Raphael Geyer:
> Hi list,
>
> I am working on a form on which field are named like needed by piVars (
> myext[myfield] ).
> I have to do some checks with javascript and I can't access this field with
> document.myform.myext[myfield] because the naming using brackets has
> another meaning in javascript.
> What is the right way to use piVars that allows an access to the field with
> javascript ?

Does this work?

document.myform["myext[myfield]"]

R

-- 
COLORCUBE
digital media lab

www.colorcube.de




More information about the TYPO3-dev mailing list