How about posting what you have?  that would give a good basis to
start to explain it

To hope to help though, since the Ajax request is made asynchronously,
it loses the context of "this"



On Oct 8, 10:49 am, Wayne <[EMAIL PROTECTED]> wrote:
> 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

Reply via email to