I have created a click event handler on an anchor and can reference it using $(this) just fine until I include a $.post function which processes the return data using a callback function. Once in the callback function, the $(this) no longer works.
How can I refer to the clicked anchor from within the $.post callback function? After way too long trying different combinations of things and making it work and break, I am first of all assuming that is what is going on, i.e. that once I am in the callback function, I no longer have access to $(this).
Anyhow, any advice would be welcome at this point.
Brilliant. Thank you, thank you, thank you. Funny, I almost tried that but at 1:30 in the morning my inquisitiveness was about tapped out. Just tried it now and it works like a champ. Have a great day.