narasiman rao

narasiman rao

  • NA
  • 519
  • 772.4k

Avoid artifacts with longer than x characters

Oct 12 2016 4:00 AM
My code as follows

$.ajax({

type: "POST",
url: "VendorMaster.aspx/SanDocumentData",
data: '{reqvehicleregistrationname: "' + vehicleregistrationname + '",reqvehicleregistrationpath:"' + vehicleregistrationpath + '" }',

contentType: "application/json; charset=utf-8",
responseType: "json",
cache: false
}
);

From the above code the below line exceed 120 characters, how to split .

data: '{reqvehicleregistrationname: "' + vehicleregistrationname +
'",reqvehicleregistrationpath: "' + vehicleregistrationpath + '" }',
 
 
 

Answers (1)