Okay, I am trying to navigate thru a website automatically. From a form, the user hits a button... it loads the website, and enters the credentials without issue. I am trying to initiate the click for login.... Everything I try does not work!
---What the HTML says the button is----
<input class="tButton" type="SUBMIT" value="Log In" name="Login">
-----------------------------------------------
----What I have been trying ---
'xxx.Navigate "javascript:doSubmit('Log In');"
' xxx.Document.all.Item("Log In").Click
'xxx.Navigate "javascript:doSubmit('Login');"
' xxx.Document.all.Item("Login").Click
---------------------------------
I started thinking maybe it is a Javascript function that is running when that button is pressed... I found this function with the help of firebug addon for firefox. I would just post the website but it is an intranet site
'xxx.Navigate "javascript:doSubmit('wldInitialisePage');"
Any ideas or suggestions would be great... I think I have hit a wall....
Here is an image of the html on the site.... http://i.imgur.com/M1S6F.jpg