[jQuery] Re: getJSON and (this)

2008-09-07 Thread Skeeter
Thank you! That worked great =) Basically once I get the data back and it has the correct status, I want to 'swap styles'. Right now, I just remove one, then add the one I want. Is it possible to fade between styles? It doesn't look like it to me, because the fade() function does not seem to do

[jQuery] getJSON and (this)

2008-09-07 Thread Skeeter
Hi. Can anyone tell me while once I get inside the success function $j(this) is no longer defined? Thanks! :) $j("a.complete").click(function () { $j.getJSON("https://foobar?my="; + $j(this).attr("title"), function(data){ if (data.status == "Completed") {