--On 29. August 2007 14:38:31 +0200 Jaroslav Lukesh <[EMAIL PROTECTED]> wrote:

Hi,

This is typically not zope question, but I does not find solution for
this  zopiness. I need to fill from javascript form fields with defined
zope type:

<input type="text" name="number:int" value="0">

and how to address it in javascript? This make JS error for me:

document.forms['form_name'].number:int.value =1;


Ensure that the input element has an id attribute and then use
document.getElementById(...)...basic DOM manipulation :-)

Andreas

Attachment: pgpa84uvsY5J9.pgp
Description: PGP signature

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

Reply via email to