[Zope] JavaScript help!

Evan Simpson evan@4-am.com
Sun, 13 Aug 2000 15:51:09 -0400


> function changeChars() {
>  var box = eval("document.manage_edit_form.data:text");

This should be:

var box = document.manage_edit_form['data:text'];

JavaScript, like DTML, lets you access objects with funny names using
subscript notation.

Cheers,

Evan @ 4-am & digicool