getting result of ajax post.