I'm trying to send some ajax POST before enabling the click.

I tried this:

```
$('.unread a').click(function(){
    ele = $(this);
    $.post('ajax/notification.php', {
    info : ele.attr('title')
    }, 
    function(data) {
        if(data != 'frack') {
            ele.addClass("read");
            ele.removeClass("unread");
            window.location = ele.attr("href");
        }
    });
    return false;
});

```

but when I click on the link, it goes directly to the page without having time to send the $.post.

Any ideas?