CancelImage Upload

Java script automation....Getting error.

From Guest User at 08:45:56 on the 07/06/2010.
I am trying to automate an URL through javascript.
Snippet of the code is:

IE = new ActiveXObject("InternetExplorer.Application");
IE.Navigate("someURL.com");
IE.document.getElementById("loginID").value = "username" ;
IE.document.getElementById("password").value = "password";

I have made an HTML form, there is a button, Onclick of the button i call this java script. The problem is i am able to open the URL but it shows me error at IE.document.getElementById....

I am not sure how to take control over an external URL, how to access it's parameters. Please help me.
Login
Want to login?

No problem. Just enter your email and password below.


register | home | reminder

Rate this thread:
1 2 3 4 5
myDesignTool Networking • www.mydesigntool.cominfo@mydesigntool.com