Maybe not a Zope specific question but the problem arises only with Zope
DTML.
The documentEdit.dtml page in OFS has this little HTML:
TEXTAREA NAME="data:text" WRAP="Off"
COLS="50"
ROWS="20"/TEXTAREA
And what I want to do is trigger a JavaScript that replaces specific
characters in the
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