|
|
|
Вызов getElementById из connection-point'a
|
|||
|---|---|---|---|
|
#18+
Имеется следующая ситуация: //... myActiveX.attachEvent('SomeEvent', onSomeEvent); //... function onSomeEvent() { document.getElementById('someElement')... // здесь getElementById возвращает null, т.е. не находит элемент } //... // А при вызове отсюда - элемент находится: <input id="someButton" type="image" src="button.bmp" onclick="onSomeEvent()"> Почему так происходит, и как это исправить? Спасибо! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.11.2008, 18:26 |
|
||
|
|

start [/forum/topic.php?fid=22&tid=1455558]: |
0ms |
get settings: |
5ms |
get forum list: |
10ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
135ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
21ms |
get tp. blocked users: |
1ms |
| others: | 202ms |
| total: | 387ms |

| 0 / 0 |
