Skip to content

Tag Archives: HTML-DOM

The searchParams property returns a URLSearchParams object allowing access to the GET all the decoded query arguments contained in the URL. Syntax: params = url.searchParams;… Read More
The URL revokeObjectURL() method releases an existing object URL which was created by using URL createObjectURL(). This method is called when you are finished using… Read More
The window event property returns the event which is currently being handled by the site’s code in the current window. Syntax: event = window.event; Return… Read More
The indexedDB property provides a mechanism for applications to asynchronously access the capabilities of indexed databases. This is a read-only property. Syntax: var IDBFactory =… Read More
The queryCommandSupported() method checks whether the specified editor command is supported by the browser or not. Syntax: check = document.queryCommandSupported(command); Parameters: This method accept single… Read More
The insertNode() method inserts a node at the start of the Range. The updated Range consists of new inserted node before the Range of the… Read More
The setEnd() method is used to set the ending position of a Range. The endNode can be used as a text node, child nodes etc.… Read More
The cloneRange() method is used to make a clone of original range and returns that cloned Range object it into a new variable. Note: Change… Read More
The deleteContents() method deletes all the contents of the Range from the Document tree. Syntax: range.deleteContents() Parameters: This method does not accept any parameters. Return… Read More
The Range toString() method is used to convert range to String text. The selected Range is an object which need to be converted to text… Read More
The extractContents() method moves the contents of the Range from the document tree into a document object variable. The contents of the Range gets removed… Read More
The HTML DOM Range setStartBefore() method is used to set the starting position of a Range. An element that is used to set the starting… Read More
The ParentNode.append() method is used to insert Node objects or DOMString objects after the last child of the ParentNode. DOMString objects are inserted as Text… Read More
The HTML DOM plugins property returns an HTMLCollectionobject containing one or more embed elements or plugins of the current document. This is a read-only property.… Read More
The TreeWalker whatToShow property returns an unsigned Integer describing the type of Node that must to be presented. This is a read-only property. Syntax: whatToShow… Read More