>>I didn't try the latter two, but getElementById() works for me:
>
>
loBrowser=THIS.oBrowser
> loDoc=loBrowser.DOCUMENT
> loIEctl=loDoc.getElementById(lcKey)
>
>
>Dragan
>
>Easy enough for HTML, but can you retrieve elements from an SVG doc? This is where we stumble, as I understand it.
Haven't tried with SVG, as long as it's not widely supported (maybe it is now, didn't check). My rule of thumb is that the debugger won't show you the object model, but intellisense will - and only one level deep, sometimes two. That's why I have loDoc, because the moment I get an object reference for it, something in VFP reads its interface and I can suspend, then try out "loDoc." in command window and try this and that.
Another useful tool is DOM inspector in Mozilla. It shows you exactly what you need, you only have to get used to its hierarchical layout.