Jump to content

_IEaction unable to find sumbit on page for web login

Recommended Posts

<td align="right">
<script language="JavaScript">
  DrawActionRow('sign in','#"onClick="JavaScript:doit()',2 );

I am trying to do a simple login to a webpage. When i view the source of the web page it shows ^^^^


Further in the source the function that it is calling is 

function doit()


My following Autoit code of course is not working to submit the page

$oButton=_IEGetObjById($oIE,"sign in")
_IEAction ($oButton, "click")

How would I click on this button or can i run this command somehow? Sorry for all the code boxes, i could not delete them once added.

Link to comment
Share on other sites

HA, you are awesome.  

$oForm = _IEFormGetObjByName($oIE, 'loginFormBean')

That did it. 


How did that work? I have been beating my head trying to figure this out

'logonFormBean' is the name of the Form?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...