Re: clicking on list elements - problem
> [3][color=blue]
> ...OuterLayer onclick="update (event.target, this, newContent)"...[/color]
Actually here is FF who doesn't act by ECMA, because it doesn't let you
forward an argument from the outer function to the inner one.
....onclick="up date(event, this, newContent)... - this will fail
("event" is UOA - Undefined On Arrival :)
You have to pull out the needed properties right on the spot, or you
are out of luck. The fact that obj.onclick.arg uments[0] works like a
charm - it shows that this might be not an error, but an intentional
block. But why?
> [3][color=blue]
> ...OuterLayer onclick="update (event.target, this, newContent)"...[/color]
Actually here is FF who doesn't act by ECMA, because it doesn't let you
forward an argument from the outer function to the inner one.
....onclick="up date(event, this, newContent)... - this will fail
("event" is UOA - Undefined On Arrival :)
You have to pull out the needed properties right on the spot, or you
are out of luck. The fact that obj.onclick.arg uments[0] works like a
charm - it shows that this might be not an error, but an intentional
block. But why?
Comment