[Zope] Form data type coercion syntax and javascript

Max Møller Rasmussen maxm@normik.dk
Wed, 17 Jan 2001 13:23:59 +0100


From: Mayers, Philip J [mailto:p.mayers@ic.ac.uk]

>Not a problem per-se, just a query - how are people dealing with things
like
>this:

snipped lots of stuff...

>Anything more elegant?

I don't know if it is something like this you mean:

self.document.form['test:list'].value = 'stuff to fill in';

or perhaps?

self.document.form['test:list'] = new Option("Red"+i,"color_red");

regards Max M