jdawg_1989
New Member
- Joined
- Jun 24, 2011
- Messages
- 27
I am trying to click a button on an intranet page.
The html source is as follows:
As you can probably work out there are 2 buttons. "Previous Page" and "Send Form"
I can click the "Previous Page" button just fine using the following code:
The problem I have is trying to click the "Send Form" button as it has no name in the html code.
Any ideas or suggestions please?
Thanks
The html source is as follows:
HTML:
<div id="mainbody">
<div class="buttons">
<a name="a9999" id="a9999"></a>
<input type="button" name="PreviousBtn" *******="javascript:history.back();" value="Previous" title="Previous Page" accesskey="R">
<input type="hidden" name="send">
<input type="Submit" value="Send Form " title="Send Form" accesskey="S" >
</div>
</div>
I can click the "Previous Page" button just fine using the following code:
Code:
objIE.Document.all("PreviousBtn").Click
Any ideas or suggestions please?
Thanks