+ Start a Discussion
christwin123christwin123 

Connection.js and Apex.js Files

Hi,

 

Could someone please help by letting me know from were I can download the Connection.js and Apex.js Files to use Ajax codes.Or will could you please send the file if possible. christwindurai@gmail.com

 

Thank you so much,

 

Regards,

Christwin

Best Answer chosen by Admin (Salesforce Developers) 
Vinita_SFDCVinita_SFDC

Hello,

Connection.js and Apex.js are part of AJAX Toolkit. You can simply include these files in your code as follows:

<script src="/soap/ajax/28.0/connection.js" type="text/javascript"></script>
<script src="/soap/ajax/28.0/apex.js" type="text/javascript"></script>

 

Change the API version if you have other than 28.0, if you wish to see the content of file then you can simply hit  https:/instance.salesforce.com/soap/ajax/28.0/connection.js and get the code.

 

For details on AJAX toolkit refer: http://www.salesforce.com/us/developer/docs/ajax/

All Answers

Vinita_SFDCVinita_SFDC

Hello,

Connection.js and Apex.js are part of AJAX Toolkit. You can simply include these files in your code as follows:

<script src="/soap/ajax/28.0/connection.js" type="text/javascript"></script>
<script src="/soap/ajax/28.0/apex.js" type="text/javascript"></script>

 

Change the API version if you have other than 28.0, if you wish to see the content of file then you can simply hit  https:/instance.salesforce.com/soap/ajax/28.0/connection.js and get the code.

 

For details on AJAX toolkit refer: http://www.salesforce.com/us/developer/docs/ajax/

This was selected as the best answer
christwin123christwin123

Hi,

 

Thank you so much..I was able to do that right.

 

Regards,

Christwin