답변 2개 / 댓글 2개
채택된 답변
+20 포인트
3년 전
if (num % 12 == 0)
document.write('배수')
else
document.write('배수아님')
답변에 대한 댓글 1개
3년 전
Copy
$(document).ready(function()
{
$("td").filter(function(index)
{
return index % 12 == 0;
}).css("color","blue");
});
답변에 대한 댓글 1개
답변을 작성하려면 로그인이 필요합니다.