29 Aug
2007
29 Aug
'07
12:52 p.m.
--On 29. August 2007 14:38:31 +0200 Jaroslav Lukesh <lukesh@seznam.cz> 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