이 페이지를 .load()로로드하고 타임 아웃이 500이지만 텍스트 영역에 포커스가있을 때 타임 아웃을 5000000으로 변경하려고합니다.이 코드는 작동하지 않습니다.jquery 로딩 및 setTimeout 문제
function refreshTable(){
var t = 500;
$('#postHolder').load('postFrame.php', function(){
$("textarea").focusin(function() {
var t = 5000000;
});
setTimeout(refreshTable, t);
});
}