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") {
//Woohoo, it worked!
alert("Woohoo!");
//Now lets change the div style!
$j(this).parent().removeClass('foobar');
//Hey, that didn't do anything!
//This worked above, lets test and see if it contains a
value.
alert($j(this).attr("title"));
//undefined? =(
}
});