innerHTML
outerHTML
textContent
value
hasChildNodes()
childNodes
children
hasChildren()
getElement()
getElementById()
getId()
queryElement()
getElement(id)
getElementById(id)
elementById(id)
Document Object Model
Document Object Manipulation
Document Oriented Model
None of the options
Which of the following code is most efficient?
Code 1 for(var number-10;number>=1;number--) { document.writeln(number); } Code 2 var number=10; while(number>=1) { document.writeln(number); number++ }
Code 1
Code 2
Both Code 1 and Code 2
Cannot Compare
break
return
debugger
try….catch
position()
index()
indexOf()
None of These
alert("Hello World");
msgBox("Hello World");
alertBox("Hello World");
msg("Hello World");
round(7.25)
Math.rnd(7.25)
rnd(7.25)
Math.round(7.25)
alert("Hello World")
alertBox("Hello World")
msgBox("Hello World")
msg("Hello World")
It checks if a value is a number
It checks if a value is not a number
It converts a value to a number
It checks if a value is undefined