$('.btn-submit').click(function () {
$.getJSON('/ajax/', {
action: 'test', data: 1}, function (json) {
setTimeout(function () {
$(this).html(val).removeAttr('disabled'); // здесь не видет THIS
}, 1000);
});
});
Как заставить внутри функции видеть обект THIS?