How about:

document.manage_edit_form["data:text"]

-----------Original Message------------
From: "Peter Be" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: [Zope] JavaScript help!
Date: Sun, 13 Aug 2000 17:18:24 +0100
charset="iso-8859-1"

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 textarea box to others.
I.e. Replace swedish ö with HTML: &ouml;

The problem is the name of the textarea box!
It is called "name:text"
If I replace the name of the textarea box to say "data", then my JavaScript
works fine.
I have tried to "eval" the box, but to no effect.
Any ideas??


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to