Hi,
I need to create a checkbox node that has an event,
(onclick="SetEmax()") added when the node is created. I
can create the checkbox OK, but can't get
myCheckbox.onclick="SetEmax()"
to work. Any clues on how to specify an event handler for
a node you are creating programmatically?
Thanks, Terry
bruce barker - 24 Oct 2003 23:32 GMT
your setting the onclick to a string, not a function.
try
myCheckbox.onclick=SetEmax
-- bruce (sqlwork.com)
> Hi,
> I need to create a checkbox node that has an event,
[quoted text clipped - 6 lines]
> a node you are creating programmatically?
> Thanks, Terry