andyjbrommel
New Member
- Joined
- May 26, 2011
- Messages
- 2
Code:
div style= "visibility: hidden"
a id="myForm:lnk_enter" href="#" shape="rect" *******="if(typeof jsfcljs == 'function'){jsfcljs(document.forms['myForm'],{'myForm:lnk_enter':'myForm:lnk_enter'},'');}return false" class="lnk_enter"
Enter
/a
/div
HTML source code of the 'element' I'm trying to interact with. '<' removed so that you could actually see the text.
I am struggling mightily with this one. I am somewhat familiar with interacting with basic HTML using VBA. Normally if I want to 'click' a button I just find the input element and identify it by the ID and use the .click command. The above however is not an input element and I have struggled trying to figure out how to interact with it.
Basically this is a 'submit' button within a form that when clicked will refresh the screen based on the commands given by the user.
Things I have surmised...
1. This element appears to be 'hidden'
2. This element is within a form titled 'MyForm'
3. Java is in someway shape or form invovled
Things I have tried...
1. objIE.document.all("myForm:lnk_enter").Click
2. objIE.document.form("MyForm").all("lnk_enter").Click
Any suggestions?
Last edited: