>>>I have a bunch of objects in a browser control on a form. I know their IDs. I've tried this:
>>>
>>>
loDoc=loBrowser.object.document
>>> loIEctl=lodoc.getElementById(lcKey)
>>>
>>>
>>>Whatever I do, loIeCtl is null. I've tried loDoc.all(lcKey), even
>>>
loall=lodoc.all
>>>loiectl=loall.item(lckey)
>>>but it's still null.
>>>
>>>In .beforenavigate2() I'm catching an ID of an object in the URL, and it just works from there. Also tried without the .object. infix, still null.
>>>
>>>Anyone got a clue?
>>
>>I don't have a clue, but check
http://forum.foxclub.ru/read.php?29,243904,243907#msg-243907>
>I'm already doing that, and for some reason it doesn't work - it's the same .getElementById() which works when called from browser's own events, but not from this.
What exactly is the problem again?
BTW, while I was trying to google it, I found an interesting link
http://forum.foxclub.ru/read.php?29,243904,243907#msg-243907
If it's not broken, fix it until it is.
My Blog