You need to sign in to do that
Don't have an account?
ClintHegney
Error when using sforceClient.Login function
Tried using the following line in a btnLogin_Click() function call and received an the error below.
var loginResult = sforceClient.Login(document.getElementById("txtUserName"), document.getElementById("txtPassword") );
Line: 721
Char: 3
Error: 'Sforce.Util.time_object' is null or not an object
Code: 0
URL: <url>
Was I supposed to set this object some where before calling the Login function
var loginResult = sforceClient.Login(document.getElementById("txtUserName"), document.getElementById("txtPassword") );
Line: 721
Char: 3
Error: 'Sforce.Util.time_object' is null or not an object
Code: 0
URL: <url>
Was I supposed to set this object some where before calling the Login function
you may want to try
document.getElementById("txtUserName").value
otherwise you are not passing a string, but an HTML element