![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm fighting with a strange problem that occures in IE, but let's start from beggining... I have a DIV element and SPAN element inside it, DIV has a onClick event attached while SPAN doesn't. The problem is, when you click at SPAN element and onClick function is called, the event.srcElement contains SPAN element.. I have NO idea why - from logical point, it should contain DIV element (in FF currentTarget is correctly pointing to DIV element) I will be grateful for any help, I ran out of ideas.. |
#3
| ||||
| ||||
|
|
I'm fighting with a strange problem that occures in IE, but let's start from beggining... I have a DIV element and SPAN element inside it, DIV has a onClick event attached while SPAN doesn't. The problem is, when you click at SPAN element and onClick function is called, the event.srcElement contains SPAN element.. I have NO idea why - from logical point, it should contain DIV element (in FF currentTarget is correctly pointing to DIV element) |
| I will be grateful for any help, I ran out of ideas.. |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |