IE VBA onClick (1 Viewer)

Chris2404

Registered User.
Local time
Yesterday, 20:29
Joined
Jul 10, 2013
Messages
13
Hi,

I have some code that pulls info from a webpage however in order to obtain the rest of the data I need there are a few javascripts that needs to run to update the web data. Below is the table with the "onClick" javascript that runs...

Code:
<td><div style="width:20px;height:1px"></div></td><td><img src="aWebsite" alt="" /></td><td class="table1" style="white-space:nowrap;"><a class="className" href="javascript:__doPostBack(particularScriptToRun;)" onclick="PositionToMoveTo" style="border-style:none;font-size:1em;">Cell Contents</a></td>

Basically the page is a list of staff in a "Tree" model so if you click on a supervisor you will see all their staff and above that supervisor is their boss, clicking on them will show all supervisors.

When the page loads I see 1 particular supervisor, I pull that data all ok however how to I then tell the page to click on the element above?

Thanks
 

Users who are viewing this thread

Top Bottom