I have an ajax call in a `function` and I did not find a solution how to `return` the data:

```
function get_blog_post(id){

    var info="id="+id;
    $.ajax({
            type: 'POST',
            url: 'get_blog_post.php',
            data: info,
            success: function(data){
                return data;
            }
    });

}

```

The code above doesn't works. The `data` contains the right answer but I can't use it if I callthe `get_blog_post()` `function`. 

:\