JavaScript Application - Function of Operation Nodes

xiaoxiao2021-03-06  110

D1.Removenode (True); OUL1.INSERTBEFORE (NOD, OLIYELLOW);
VAR OclonEnode = = = c tenode (true); / * when the cloned node is added, 'olist' becomes a collection. * / document.body .insertBefore (oCloneNode); var oNewNode = document.createElement ( "LI"); oList.appendChild (oNewNode);. oElement = object.insertAdjacentElement (sWhere, oElement) Required String that specifies where to insert the HTML element, using one of the following values:.. beforeBegin Inserts oElement immediately before the object afterBegin Inserts oElement after the start of the object but before all other content in the object beforeEnd Inserts oElement immediately before the end of the object but after all other content in the object afterEnd. INSERTS OELEMENT IMMEDIATELY AFTER The end of the object.