I want to send long string with $form.serialize()
data as follows.
var $form = $( this ),
url = $form.attr( "action" );
$.ajax({
url: APP_URL+'/packs/add',
type: 'POST',
data: $form.serialize() + '&url=' + JSON.stringify(downloadURL),
dataType: 'json'
}).done(function(data){
});
The downloadURL
is long string and it post half of them and lost the other part. How to post full string?