+ Start a Discussion

Ajax reference version

What should this line in my code look like?

<script src="/soap/ajax/10.0/connection.js"></script>

Is 10.0 the latest version or is there a newer version and do I have to update the version everytime and fix my scontrols when a new version is released?

Where can I see what the latest version # is?

Greg HGreg H
10.0 is the latest version and that line for the reference is correct.  When new versions are released you should update your existing code to the newer reference.  A good place to look for further information is the AJAX Toolkit Developer's Guide http://www.salesforce.com/us/developer/docs/ajax/index.htm.
FYI, we're on version 11 now. Same basic functionality, but you can use the new 11.0 features (existing scripts can be updated with no negative side-effects that I've seen).