Die meistgefragten Interviewfragen und Antworten sowie Online-Tests
Lernplattform fur Interviewvorbereitung, Online-Tests, Tutorials und Live-Ubungen

Baue deine Fahigkeiten mit fokussierten Lernpfaden, Probetests und interviewreifem Inhalt aus.

WithoutBook vereint themenbezogene Interviewfragen, Online-Ubungstests, Tutorials und Vergleichsleitfaden in einem responsiven Lernbereich.

Interview vorbereiten

JavaScript Interviewfragen und Antworten

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

Verwandte Vergleiche

Frage 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;
}
}
}

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 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.

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 58. How to disable an HTML object?

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

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 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>
...

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Am hilfreichsten laut Nutzern:

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