가장 많이 묻는 면접 질문과 답변 & 온라인 테스트
면접 준비, 온라인 테스트, 튜토리얼, 라이브 연습을 위한 학습 플랫폼

집중 학습 경로, 모의고사, 면접 준비 콘텐츠로 실력을 키우세요.

WithoutBook은 주제별 면접 질문, 온라인 연습 테스트, 튜토리얼, 비교 가이드를 하나의 반응형 학습 공간으로 제공합니다.

Prepare Interview

JavaScript 면접 질문과 답변

Test your skills through the online practice test: JavaScript Quiz Online Practice Test

관련 차이점

Ques 56. To set all checkboxes to true using JavaScript?

//select all input tags
function SelectAll() {
var checkboxes = document.getElementsByTagName("input");
for(i=0;i if(checkboxes.item(i).attributes["type"].value == "checkbox") {
checkboxes.item(i).checked = true;
}
}
}

도움이 되었나요? Add Comment View Comments
 

Ques 57. What is === operator?

==== is strict equality operator ,it returns true only when the two operands are having the same value without any type conversion.

도움이 되었나요? Add Comment View Comments
 

Ques 58. How to disable an HTML object?

document.getElementById("myObject").disabled = true;

도움이 되었나요? Add Comment View Comments
 

Ques 59. To write messages to the screen without using "document.write()"?

Changing the contents of an element is a much better solution. When the method showStatus is invoked it will change the content of the span.
...
function showStatus(message) {
var element = document.getElementById("mystatus");
element.textContent = message; //for Firefox
element.innerHTML = message; //for IE (why can't we all just get along?)
return true;
}
...
<span id="mystatus">Test. </span>
...

도움이 되었나요? Add Comment View Comments
 

Most helpful rated by users:

Copyright © 2026, WithoutBook.
JavaScript vs JqueryJavaScript vs VBScriptJavaScript vs TypeScript