function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PBS_IC786PBS_IC786 

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?

Thanks
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.
-greg
sfdcfoxsfdcfox
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).