InterviewSolution
Saved Bookmarks
| 1. |
What is the purpose of the method nodeMap.setNamedItem()?(a) Sets ID(b) Sets attribute node(c) Sets element name(d) Sets element type |
|
Answer» Correct choice is (b) Sets attribute node Explanation: The setNamedItem() method adds the specified node to the NamedNodeMap. The method nodeMap.setNamedItem() sets the specified attribute node (by name). |
|