Why not just use $.get directly? This should work:

$(document).ready(function() {
        $('#action_link a').click(function()
        {
                                $.get('e.php',{test : 
$(this).text()},function(data)
                                {
                                        $('#action_link').html(data +" Bar 
Added To Favorites");
                                });
                                return false;
        });

});

The ".show('slow')" bit in the callback was unnecessary since the
#action_link div was never even hidden, so it didn't do anything.

The second parameter to $.get (as well as $.post or $(...).load) can
be an object of key - value pairs you want to send to the server.

Reply via email to