Hi
I have a check box. I would like to set up an eventListener for it.
This works:
cb.onClick = function()
{
alert("clicked");
}
This don't:
cb.addEventListener("click", cbClick);
function cbClick()
{
alert("clicked");
}
Why not? I have used the addEventListener method for many other components.
Thanks,
Jakob