# jQuery AJAX callback issues

**URL:** <https://forum.kirupa.com/t/jquery-ajax-callback-issues/286113>\
**Category:** web dev\
**Created:** [April 10, 2009, 8:27am UTC](https://forum.kirupa.com/t/jquery-ajax-callback-issues/286113 "2009-04-10T08:27:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unikrl8](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/unikrl8/32/548_2.png) [@unikrl8](https://forum.kirupa.com/u/unikrl8)\
**Post date:** [April 10, 2009, 8:27am UTC](https://forum.kirupa.com/t/jquery-ajax-callback-issues/286113/1 "2009-04-10T08:27:52Z")

</div>

I want to make links disappear when the ajax call underneath them returns successful.  
I can’t figure out how to access the $(this) … or whatever it needs to be … to get back to the $(“a”) jquery object.

I have put alerts in the callback and it IS running.

What do I do?

```auto

$("a").click(function(){
    var content = $(this).html();

    $.post("process.php", { filename: content},
      function(data){
        $(this).hide(); //<<<<THIS IS WHERE I NEED HELP
      });

});

```

Thanks in advance for any help you can provide 🙂  
-Karl
