[Zope] javascript and ZPT

Dieter Maurer dieter@handshake.de
Thu, 19 Dec 2002 00:26:00 +0100


eugen@sifolt.ro writes:
 > ...
 > <td><input type="checkbox" name="c_row:list:int" tal:attributes="value
 > row/id"></td>
 > ......
 > 
 > but in this case I dont now how to handle javascript.
Javascript supports both atribute access as well as subscription syntax.

When you want to access an attribute with a name containing characters
invalid in names, you can use:

	object['attribute_name']



Dieter