Hi I am trying to click on a Link and i think it is on javascript
i have used ie.document.getElementById("WOTRACK_APP").click or getElementsByName but it kept telling me object required.
I am trying to click on the "Work Order Tracking". And the id is WOTRACK_APP but the problem is when i read the source code, WOTRACK_APP is a sub of WO_MODULE. So I am having difficulties to get to WOTRACK_APP.
Do i need to trigger other commands to click on the link?
This is part of the source code
i have used ie.document.getElementById("WOTRACK_APP").click or getElementsByName but it kept telling me object required.
I am trying to click on the "Work Order Tracking". And the id is WOTRACK_APP but the problem is when i read the source code, WOTRACK_APP is a sub of WO_MODULE. So I am having difficulties to get to WOTRACK_APP.
Do i need to trigger other commands to click on the link?
This is part of the source code
Code:
m9bc09af3_ncnavSections["m7f8f3e49_ns"]=
{"height":"","state":statem7f8f3e49_ns,"loaded":false};
m9bc09af3_ncnavSectionsOrder.push("m7f8f3e49_ns");
fillNavSection({"menu":{"id":"menu0nsaag-ns","mxevent":"changeapp","items":
{"id":"WO_MODULE","sub":{"id":"10","mxevent":"changeapp","items":
[{"id":"WOTRACK_APP","text":"Work Order Tracking","eventvalue":"WOTRACK"},
{"id":"LABREP_APP","text":"Labor Reporting","eventvalue":"LABREP"},
{"id":"WORKMAN_APP","text":"Assignment
Manager","eventvalue":"WORKMAN"},{"id":"OTREP_APP","text":"Overtime
Reporting","eventvalue":"OTREP"}],"type":1,"openat":null},"text":"Work
Orders","image":"modimg_wo.gif"}],"type":1,"openat":null}},
"labelledBy":"m7f8f3e49_ns_label","args":{"content":{"events":
dojo.toJson([{"navSectionId":"m7f8f3e49_ns","containerId" :
"m9bc09af3_nc","classname":"ns_goto","showImages" : "true","isQuery" :
"false","render" : "true"}])}}});
</script>
</div>