I am trying to post some variables to PHP server via json. One of this variable contains huge string. When I post data all other variable get posted successfully but one that contains huge string remains undefined.
If I make content of that variable sort, then its running fine.
$.ajax({
          type: 'POST',
          url: url,
          data:{name:”aaa”,age:”aaaaa”,detail:”huge string”},
          async:false
        }).done(function( data ) {
            alert(data);
          }).fail(function() {
           $.notify("Cannot connect to server", "error");
        });
 
    