[jQuery] AJAX Success Callback referring to $(this)

[jQuery] AJAX Success Callback referring to $(this)


I've been looking for this quite a bit, today, and haven't quite found
what I'm looking for, so maybe someone can point me in the right
direction.
I'm performing an AJAX request, and I pass an anonymous function as
the success callback, upon which I will want to do some DOM
modification to the element that triggered the AJAX event. Ordinarily,
$(this) would work fine for doing this, but it seems that $(this)
points instead to something besides a DOM element.
First, what does $(this) point to when you're inside the AJAX Success
callback.
Second, what is considered the best practice for accessing the
triggering element after a successful AJAX query?
Any help is appreciated,
Wayne