1
Answer

Avoid artifacts with longer than x characters

narasiman rao

narasiman rao

8y
212
1
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)