0
how's the node type for element is 1?
explain the question given in tutorial.
2 Answers
+ 1
the question is in reference to the chart provided in the previous page. a DOM element has its NodeType as constant 1. you can refer to the following link for further explanation.
http://www.w3schools.com/jsref/prop_node_nodetype.asp
0
check out node.nodetype to see what integer it returns