WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

OLE with MSIE
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Find Unnamed Form

Keywords:   unnamed form msie

If you are dealing with an unamed form, it might still be possible to traverse the document object model within IE to find the form.

To find that unnamed form, I'd try:

document.getElementsByTagName("form")[0]
(that's javascript syntax)

getElementsByTagName returns an array of objects of the specified type. then ask for the zeroth element (the first one) to get the first form.

winbatch might look like:

fred = document.getElementsByTagName("form")
form = fred.item(0)
Hope it works.
Article ID:   W15651
File Created: 2003:05:13:11:29:22
Last Updated: 2003:05:13:11:29:22