a) will work perfectly well on a Windows Machine b) will be displayed as a JavaScript text on ...
View QuestionWhich of the following is not considered as an error in JavaScript?
a) Missing of Bracket b) Syntax error c) Division by zero d) Missing of semicolons Answer: c Explanation: Division ...
View QuestionThe web development environment (JavaScript) offers which standard construct for data validation of the input entered by the user.
a) Server page access b) Client side Event c) Permit server-side d) Controlled loop ...
View QuestionJavaScript can be written __________
a) directly into the css file b) directly on the server page c) directly into JS file and included ...
View QuestionJavaScript Code can be called by using ___________
a) Triggering Event b) Preprocessor c) RMI d) Function/Method Answer: d Explanation: JavaScript code can be called by making ...
View Question
What will be the output of the following JavaScript code?
<p id=”demo”></p>
<script>
txt1 = “ one”;
txt1 += “two”;
document.getElementById(“demo”).innerHTML = txt1;
</script>
What will be the output of the following JavaScript code? <p id="demo"></p> <script> txt1 = “ one”; txt1 += “two”; document.getElementById("demo").innerHTML ...
View QuestionThe script tag must be placed in __________
a) the title or head b) the head or body c) after the body tag d) the head tag
View QuestionJavaScript is ideal to ________
a) make computations in HTML simpler b) increase the loading time of the website c) minimize storage requirements on ...
View Question
What will be the output of the following JavaScript code?
<p id=”demo”></p>
<script>
var x = 10;
x *= 5;
document.getElementById(“demo”).innerHTML = x;
</script>
What will be the output of the following JavaScript code? <p id="demo"></p> <script> var x = 10; x *= 5; document.getElementById("demo").innerHTML ...
View QuestionA proper scripting language is a __________
a) High level programming language b) Low level programming language c) Assembly level programming language d) Machine level programming language
View Question