[jQuery] Scope of the (AJAX) callback functions

[jQuery] Scope of the (AJAX) callback functions

I am trying to access a variable I've created before an $.post() within
the AJAX callback function. Is it possible to bind the current scope to
a callback function?
Here's a simplified example of what I'm trying to do;
$("form input.validate").blur(function() { // EVENT BINDING
var formVar = $(this).parent(); // VARIABLE I'D LIKE TO ACCESS
var query = { .... };
$.post("/validation", query, function(xml) {
formVar.getAttribute("name"); // formVar NOT available....
});
});
formVar is undefinded. I'm not sure if jQuery has a "bind" like
prototype does to handle this?
~ Brice
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/