Return the result of ajax post