I am trying to click a button using DOM on an HTML form where the button has neither an ID nor a name tag. I have tried various methods like document.getElementByID, document.getElementsByName, document.getElementsByTagName, using x and y coordinates, etc. Nothing seems to work. Other buttons with names or an ID are no problem. Any help would be greatly appreciated. The HTML code that I am interrogating looks like this :
<tr>
<td align="center">
<a href="UserIDCtlr?action=get&USERID=xxxx"> SELECT </a></td>
<td align="left"> xxxx</td>
<td align="left">smith</td>
<td align="left">john</td>
<td align="left">ATTP </td>
</tr>
The button I am trying to click is the hyperlink (href=) above. All other buttons and elements are not an issue.
Any help would be greatly appreciated.