>Hi
>
>Please help me with code below
>
>loIE.document.GetElementById("username").value = "eletro" && OK
>loIE.document.GetElementById("password").value = myPassword && OK
>loIE.document.GetElementById("submit").click() && GetElementById does not evaluate to an object
Then it probably doesn't have that ID. Look at the source code of the page itself.
Besides, the whole purpose of this exercise is to do the POST action of the form. It may be easier to just
loFrm=loIE.document.GetElementById("{the id of the form here}")
loFrm.submit()