I need to access local variable returned by function inside a chained function
ex.
$("#history_table").bind("sortStart", function() {
var a=30;
return a;
}).bind("sortEnd", function() {
alert(a);
});
here in this example I need to access variable a returned by the first function, sortStart and aortEnd events will trigger the two functions asynchronously...