I have got this simple form:
@using (Ajax.BeginForm(\"CreateProductFromAjaxForm\",\"Product\" , null, new AjaxOptions() {
Instead of:
var getresult = function (data) { alert(data.result); };
Try
function getresult(data) { alert(data.result); };