Add this to ajax options:
dataType: "json",
and use
return Json(dataObject, JsonRequestBehavior.AllowGet);
in your action method.
Your
return result;
in the success handler of ajax is not a return for check_product
. Pass another function (possibly anonymous) to check_product
and call on ajax success.