Web developer can manipulate the DOM, by modifying object of the page. He/she can add or remove the element; add, modify, or remove an attribute; and so on. For example the code:
$(“#tree li:first > ul”).append($(“<li>”).html(“last node”));
retrieves the element to which the new element must be added. First the query gets the tree element; then it takes the first …