You need to sign in to do that
Don't have an account?
Ajax Api from html
Hi,
I jst want to use ajax api in my html page, just want to make simple call like login and then query().
I included this api by using url like this....
<script language="javascript" src="https://ap1.salesforce.com//soap/ajax/20.0/connection.js"
type="text/javascript"></script>
And when i made a login call, it through exception, then i download the connection.js and included it locally but still got exception.
It is possible to invoke salesforce ajax api from html page that is not hosted any server (running localhost)?
Any help must appreciated
The browsers same origin policy won't let you do this.