Hi,
data: "{'presc1':'" + presc1 + "', 'aviad1':'" + aviad1 + "'}",
Please Remove '' quotes
try this one its work out
data : JSON.stringify({ presc1: presc1 , aviad1: aviad1 }),
and one more thing below code your missing semicollon
var presc1 = $('#p1').val(),
aviad1 = $('#a1').val(),
Modify that
var presc1 = $('#p1').val(),
aviad1 = $('#a1').val();
Thanks
Bharat peggem