None of the current posts answer the question about getting "... Documentation for ALL Javascript HTML element constructors." This example explicitly uses the constructor "... a new variant ...".
This "answer" contains links that do not define any constructors, such as new Option()
.
the DOM link provided should have defined the Option()
constructor, or at least referenced it.
The programmed Option()
constructor is NOT HTML and therefore is NOT defined by the other two links that describe the HTML. The element of the <OPTION>
is an HTML marked marker, therefore, presumably only using an implicit use-case, new Option()
is the corresponding equivalent constructor that absorbs the attributes of the <OPTION>
properties similar to other dynamic constructs, but where it is formally, explicitly and strongly stated to define new Option()
? In particular, the type and order of the new Option()
parameters will be defined in such a document.
Although not a constructor, the createElement() document
method is well defined ( https://developer.mozilla.org/en/DOM/document.createElement ). Using document.createElement("option")
with HTMLOptionElement
links in this "answer" fully defines such a construct.
An archaic document that initiated a legacy of entangled paradigms between DOM, HTML, and javascript defines new Option()
here , but in the modern context it is inadequate.
Ekim Aug 03 2018-11-11T00: 00Z
source share