Forum Discussion
AlexeyKolosov
Staff
16 years agoHi Alison,
The general approach you should use is: 1) obtain the needed DIV element (it might be faster to use the FindChild method here too, depending on the objects hierarchy) 2) use the FindChild method to obtain the link with the specified properties, which is a child of the DIV element.
I guess the cause of the problem is the parameters you pass to the FindChild method:
PropArray = new Array("div", "id");
ValuesArray = new Array("muppet", true);
The parameters mean the following: "find an element with the "div" property equal to "muppet" and the "id" property equal to true". This does not look like valid object recognition criteria. You need to use property/value pairs you see in the Object Browser.