After try save long string get error HTTP Error 414. The request URL is too long.
How long string ex. 20 000 character shorten in the 5 small string?
First string = 0 - 4 000 Second string = 4001 - 8 000 .... .... Fifth string = 16 001 - 20 000
And all part add in function below...
$.ajax({
type: "POST",
url: "page.asmx/myService?callback=?",
//async: false,
data: { parameter: part },//add part here
contentType: "application/json; charset=utf-8",
dataType: "jsonp",
jsonpCallback: jsonCallBackFunc,
success: function(data){},
});
After finish First part add second ....etc. Any if satment?