![]() |
|
|
+ Search |
![]()
|
Aug 24th, 2001 09:14
Lobo López, stoyan shopov,
You can add any handler dynamically. There's no relationship between the form you define the element and the form you add a handler dynamically. The right way for your sentence is: document.forms[0].elements[0].onclick=f;