Thanks for both answers.
Before I did not have this problem and nowhere I needed to make a reference to jquery.
I have checked the HTML of the CRM page and there are already reference to jquery.
As I am clicking a button after the page as fully loaded, I do not think that is the root cause of the issue.
Here is the code in my script that maybe causes trouble
jQuery.support.cors = true;
$.ajax({
url: strUrl,
data: {
company: strCompanyName,
topic: strTopic,
bu: strBU,
owner: strEmailOwner,
bidmanager: strEmailBidManager,
reference: strOpportunityID,
startdate: strStartDate
},
error: function (request, status, error) {
console.log("Error when creating the SharePoint site: " + error);
// alert('Cannot connect to Web Service. Please report it to Support.' + error);
},
success: function (data) {
if (data.CreateSalesSiteResult = true) {
// alert('Sharepoint Site created.');
console.log("SharePoint Site created.");
}
else {
// alert('Something was wrong when creating Sharepoint Site. Please report it to Support.');
console.log("Something was wrong when creating the SharePoint site.");
}
}
});
What has been changed in the new version.
And If I need to reference jquery, I do not see how I need to it in the Form Properties?
Regards,