Hi, Can anyone tell me how to get access to variable "a" here:
var test = {
a: 3,
init: function() {
$("body").click(function() {
alert(a);
});
}
};
test.init();
This doesn't work either: alert(this.a);
Thanks in advance.