なぜこれがうまくいかないのか誰か教えてください。
$("textarea.settings").focus(function () {
var size = $(this).height();
console.log(size);
if(size == 40) {$(this).animate({height: 120},"slow");}
}, function () {
$(this).animate({height: 40},"slow");
});
どうしてか言ってくれない?