When put string in function about(3000 character) all work fine, but when string is (10 000 character and more) function not working.
All string work fine when call trough webservice URL in browser.
function callJsonSync(userName, procedureName, jsonCallBackFunc) {
$.ajax({
crossDomain: true,
type: "GET",
contentType: "application/json; charset=utf-8",
async: false,
url: "webService/appws.asmx/myService?callback=?",
data: { userName: userName, procedureName: procedureName },
dataType: "jsonp",
jsonpCallback: jsonCallBackFunc,
error: function (xhr, textStatus, errorThrown) {
alert(testStatus + ' - ' + errorThrown + ' - error- ' + procedureName)
}
});
}
Is there a limit to the length?