I use SpServices to do CRUD operations, When I execute this code:
$().SPServices({
operation: "UpdateListItems",
async: false,
batchCmd: "Update",
listName: "Event",
ID: idevent,
valuepairs: [["ows_Nbr_Billet_Disponible", nouveauNombrebillet]],
completefunc: function (xData, Status) {
alert(nouveauNombrebillet);
}
});
I get this error:
XMLHttpRequest cannot load http://sharepointrecette:43434343/sites/A/_vti_bin/Lists.asmx. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.send @ jquery-1.11.1.min.js:4m.extend.ajax @ jquery-1.11.1.min.js:4ao.fn.SPServices @ jquery.SPServices-2014.02.min.js:19updateListEvent @ SessionEvent.js:119inscriptionEvent @ SessionEvent.js:110onclick @ inscriptionevent:677
The fact is my port is not http://sharepointrecette:43434343 but http://sharepointrecette:4343, How it could be changed or doubled
Any idea ??