HTMLFormElement

Extends: HTMLElement

See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement

htmlFormElement.elements

Returns an HTMLCollection containing all of the form controls. It should technicaly be an HTMLFormControlsCollection which subclasses HTMLCollection. TODO: Implement HTMLFormControlsCollection and use it here.

See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/elements

htmlFormElement.dataset

Access to all the custom data attributes (data-*) set.

See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset

htmlFormElement.nodeName : string

Read only

htmlFormElement.localName : string

Read only

htmlFormElement.tagName : string

Read only

htmlFormElement.nodeType : number

Read only

htmlFormElement.namespaceURI : string

Read only

htmlFormElement.id : string

htmlFormElement.tabIndex : number

htmlFormElement.className : string

htmlFormElement.attributes : NamedNodeMap

Read only

htmlFormElement.style : Style

Read only

htmlFormElement.clientLeft : number

Read only

htmlFormElement.clientTop : number

Read only

htmlFormElement.clientWidth : number

Read only

htmlFormElement.clientHeight : number

Read only

htmlFormElement.height : string or Number

The height of the element

htmlFormElement.width : string or Number

The width of the element

htmlFormElement.offsetParent : Element

Read only

htmlFormElement.offsetLeft : number

Read only

htmlFormElement.offsetTop : number

Read only

htmlFormElement.offsetWidth : number

Read only

htmlFormElement.offsetHeight : number

Read only

htmlFormElement.scrollLeft : number

htmlFormElement.scrollTop : number

htmlFormElement.scrollWidth : number

Read only

htmlFormElement.scrollHeight : number

Read only

htmlFormElement.uxpContainer : UXPContainer

Read only

htmlFormElement.disabled : boolean

htmlFormElement.innerHTML : string

htmlFormElement.outerHTML : string

htmlFormElement.contentEditable

Read only

htmlFormElement.isConnected : boolean

Read only

htmlFormElement.parentNode : Node

Read only

htmlFormElement.parentElement : Element

Read only

htmlFormElement.firstChild : Node

Read only

htmlFormElement.lastChild : Node

Read only

htmlFormElement.previousSibling : Node

Read only

htmlFormElement.nextSibling : Node

Read only

htmlFormElement.firstElementChild : Node

Read only

htmlFormElement.lastElementChild : Node

Read only

htmlFormElement.previousElementSibling : Node

Read only

htmlFormElement.nextElementSibling : Node

Read only

htmlFormElement.textContent : string

htmlFormElement.childNodes : NodeList

Read only

htmlFormElement.children : HTMLCollection

Read only

htmlFormElement.ownerDocument

Read only

htmlFormElement.scrollIntoView()

htmlFormElement.scrollIntoViewIfNeeded()

htmlFormElement.focus()

htmlFormElement.blur()

htmlFormElement.getAttribute(name)

Param Type
name string

htmlFormElement.setAttribute(name, value)

Param Type
name string
value string

htmlFormElement.removeAttribute(name)

Param Type
name string

htmlFormElement.hasAttribute(name)

Param Type
name string

htmlFormElement.getAttributeNode(name)

Param Type
name string

htmlFormElement.setAttributeNode(newAttr)

Param Type
newAttr *

htmlFormElement.removeAttributeNode(oldAttr)

Param Type
oldAttr *

htmlFormElement.click()

htmlFormElement.getElementsByClassName(name)

Param Type
name string

htmlFormElement.getElementsByTagName(name)

Param Type
name string

htmlFormElement.querySelector(selector)

Param Type
selector string

htmlFormElement.querySelectorAll(selector)

Param Type
selector string

htmlFormElement.getBoundingClientRect()

htmlFormElement.insertAdjacentHTML(position, value)

Param Type
position
value string

htmlFormElement.insertAdjacentElement(position, node)

Param Type
position *
node *

htmlFormElement.insertAdjacentText(position, text)

Param Type
position *
text *

htmlFormElement.hasChildNodes()

htmlFormElement.cloneNode(deep)

Param Type
deep boolean

htmlFormElement.appendChild(child)

Param Type
child Node

htmlFormElement.insertBefore(child, before)

Param Type
child Node
before Node

htmlFormElement.replaceChild(newChild, oldChild)

Param Type
newChild Node
oldChild Node

htmlFormElement.removeChild(child)

Param Type
child Node

htmlFormElement.remove()

htmlFormElement.before(...nodes)

Param Type
...nodes Array.<Node>

htmlFormElement.after(...nodes)

Param Type
...nodes Array.<Node>

htmlFormElement.replaceWith(...nodes)

Param Type
...nodes Array.<Node>

htmlFormElement.contains(node)

Param Type
node Node

htmlFormElement.addEventListener(eventName, callback, [capture])

Param Type Default
eventName *
callback *
[capture] boolean false

htmlFormElement.removeEventListener(eventName, callback, [capture])

Param Type Default
eventName *
callback *
[capture] boolean false

htmlFormElement.dispatchEvent(event)

Param Type
event *

results matching ""

    No results matching ""