smellyfingers Posted May 29, 2013 Posted May 29, 2013 (edited) Hi all, i have a problem clicking on a button that has no unique identifier, the only thing that can identify it is a text that comes before the button on the same horizontal line, there is several buttons, all the same name so im trying to figure out how the script would know wich button to press when text is found, here is some properties of the button and a text field. document.all.data.contentWindow.document.forms.ServiceListForm.childNodes.item(6).childNodes.item(0).childNodes.item(6).childNodes.item(0).childNodes.item(0).childNodes.item(0).childNodes.item(0).childNodes.item(4) <TD class=listRowTable width="20%" align=left>Pristillägg </TD> document.all.data.contentWindow.document.forms.ServiceListForm.childNodes.item(6).childNodes.item(0).childNodes.item(6).childNodes.item(0).childNodes.item(0).childNodes.item(0).childNodes.item(0).childNodes.item(6).childNodes.item(0) <BUTTON class=chooseButton>i</BUTTON> It's the "i" i'm trying to click btw Is it possible to use some kind of mousemove to text click and tab or a better way Thanx in advance Edited May 29, 2013 by smellyfingers
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now