[Zope] DTML and JavaScript

Morten W. Petersen morten@src.no
Wed, 3 May 2000 09:18:08 +0200 (CEST)


> The only problems i've heard about is that the field-types
> sometimes used by Zope ( <input type="text"
> name="field1:tokens"> ) tend to confuse the
> javascript-references to these fields.
> Haven't checked this out much myself, though.

Which is easily solved with:

<script type="text/javascript" language="JavaScript">
// <!--
alert(document.forms.name_of_form.elements['name-of:string']);
// -->
</script>

JIC you didn't know how.

-Morten