I am using the following code which works great.

```
$.post('file.php?do=getLastFile',null,function(attachment){

    //do something - optional

},'json');

```

My problem is that I need to get an alert returning what was the return of file.php.

How can I modify this code so I can get an alert returning the data?