ボタンオブジェクト

0accept
1alt
2autocomplete
3defaultCheckedfalse
4checkedfalse
5dirName
6disabledfalse
7form[object HTMLFormElement]
8filesnull
9formActionhttp://www.openspc2.org/JavaScript/ref/form/sample/button.htm
10formEnctype
11formMethod
12formNoValidatefalse
13formTarget
14height0
15indeterminatefalse
16listnull
17max
18maxLength-1
19min
20minLength-1
21multiplefalse
22namemyButton
23pattern
24placeholder
25readOnlyfalse
26requiredfalse
27size20
28src
29step
30typebutton
31defaultValueボタン
32valueボタン
33valueAsDatenull
34valueAsNumberNaN
35width0
36willValidatefalse
37validity[object ValidityState]
38validationMessage
39labels[object NodeList]
40selectionStartnull
41selectionEndnull
42selectionDirectionnull
43align
44useMap
45webkitdirectoryfalse
46incrementalfalse
47popoverTargetElementnull
48popoverTargetActiontoggle
49checkValidityfunction checkValidity() { [native code] }
50reportValidityfunction reportValidity() { [native code] }
51selectfunction select() { [native code] }
52setCustomValidityfunction setCustomValidity() { [native code] }
53setRangeTextfunction setRangeText() { [native code] }
54setSelectionRangefunction setSelectionRange() { [native code] }
55showPickerfunction showPicker() { [native code] }
56stepDownfunction stepDown() { [native code] }
57stepUpfunction stepUp() { [native code] }
58webkitEntries
59title
60lang
61translatetrue
62dir
63hiddenfalse
64inertfalse
65accessKey
66draggablefalse
67spellchecktrue
68autocapitalize
69editContextnull
70contentEditableinherit
71enterKeyHint
72isContentEditablefalse
73inputMode
74virtualKeyboardPolicy
75offsetParent[object HTMLBodyElement]
76offsetTop67
77offsetLeft8
78offsetWidth40
79offsetHeight21
80popovernull
81innerText
82outerText
83writingSuggestionstrue
84onbeforexrselectnull
85onabortnull
86onbeforeinputnull
87onbeforematchnull
88onbeforetogglenull
89onblurnull
90oncancelnull
91oncanplaynull
92oncanplaythroughnull
93onchangenull
94onclicknull
95onclosenull
96oncontentvisibilityautostatechangenull
97oncontextlostnull
98oncontextmenunull
99oncontextrestorednull
100oncuechangenull
101ondblclicknull
102ondragnull
103ondragendnull
104ondragenternull
105ondragleavenull
106ondragovernull
107ondragstartnull
108ondropnull
109ondurationchangenull
110onemptiednull
111onendednull
112onerrornull
113onfocusnull
114onformdatanull
115oninputnull
116oninvalidnull
117onkeydownnull
118onkeypressnull
119onkeyupnull
120onloadnull
121onloadeddatanull
122onloadedmetadatanull
123onloadstartnull
124onmousedownnull
125onmouseenternull
126onmouseleavenull
127onmousemovenull
128onmouseoutnull
129onmouseovernull
130onmouseupnull
131onmousewheelnull
132onpausenull
133onplaynull
134onplayingnull
135onprogressnull
136onratechangenull
137onresetnull
138onresizenull
139onscrollnull
140onsecuritypolicyviolationnull
141onseekednull
142onseekingnull
143onselectnull
144onslotchangenull
145onstallednull
146onsubmitnull
147onsuspendnull
148ontimeupdatenull
149ontogglenull
150onvolumechangenull
151onwaitingnull
152onwebkitanimationendnull
153onwebkitanimationiterationnull
154onwebkitanimationstartnull
155onwebkittransitionendnull
156onwheelnull
157onauxclicknull
158ongotpointercapturenull
159onlostpointercapturenull
160onpointerdownnull
161onpointermovenull
162onpointerrawupdatenull
163onpointerupnull
164onpointercancelnull
165onpointerovernull
166onpointeroutnull
167onpointerenternull
168onpointerleavenull
169onselectstartnull
170onselectionchangenull
171onanimationendnull
172onanimationiterationnull
173onanimationstartnull
174ontransitionrunnull
175ontransitionstartnull
176ontransitionendnull
177ontransitioncancelnull
178oncopynull
179oncutnull
180onpastenull
181dataset[object DOMStringMap]
182nonce
183autofocusfalse
184tabIndex0
185style[object CSSStyleDeclaration]
186attributeStyleMap[object StylePropertyMap]
187attachInternalsfunction attachInternals() { [native code] }
188blurfunction blur() { [native code] }
189clickfunction click() { [native code] }
190focusfunction focus() { [native code] }
191hidePopoverfunction hidePopover() { [native code] }
192showPopoverfunction showPopover() { [native code] }
193togglePopoverfunction togglePopover() { [native code] }
194onscrollendnull
195onscrollsnapchangenull
196onscrollsnapchangingnull
197namespaceURIhttp://www.w3.org/1999/xhtml
198prefixnull
199localNameinput
200tagNameINPUT
201id
202className
203classList
204slot
205attributes[object NamedNodeMap]
206shadowRootnull
207part
208assignedSlotnull
209innerHTML
210outerHTML
211scrollTop0
212scrollLeft0
213scrollWidth36
214scrollHeight17
215clientTop2
216clientLeft2
217clientWidth36
218clientHeight17
219onbeforecopynull
220onbeforecutnull
221onbeforepastenull
222onsearchnull
223elementTiming
224onfullscreenchangenull
225onfullscreenerrornull
226onwebkitfullscreenchangenull
227onwebkitfullscreenerrornull
228rolenull
229ariaAtomicnull
230ariaAutoCompletenull
231ariaBusynull
232ariaBrailleLabelnull
233ariaBrailleRoleDescriptionnull
234ariaCheckednull
235ariaColCountnull
236ariaColIndexnull
237ariaColSpannull
238ariaCurrentnull
239ariaDescriptionnull
240ariaDisablednull
241ariaExpandednull
242ariaHasPopupnull
243ariaHiddennull
244ariaInvalidnull
245ariaKeyShortcutsnull
246ariaLabelnull
247ariaLevelnull
248ariaLivenull
249ariaModalnull
250ariaMultiLinenull
251ariaMultiSelectablenull
252ariaOrientationnull
253ariaPlaceholdernull
254ariaPosInSetnull
255ariaPressednull
256ariaReadOnlynull
257ariaRelevantnull
258ariaRequirednull
259ariaRoleDescriptionnull
260ariaRowCountnull
261ariaRowIndexnull
262ariaRowSpannull
263ariaSelectednull
264ariaSetSizenull
265ariaSortnull
266ariaValueMaxnull
267ariaValueMinnull
268ariaValueNownull
269ariaValueTextnull
270children[object HTMLCollection]
271firstElementChildnull
272lastElementChildnull
273childElementCount0
274previousElementSiblingnull
275nextElementSiblingnull
276afterfunction after() { [native code] }
277animatefunction animate() { [native code] }
278appendfunction append() { [native code] }
279attachShadowfunction attachShadow() { [native code] }
280beforefunction before() { [native code] }
281checkVisibilityfunction checkVisibility() { [native code] }
282closestfunction closest() { [native code] }
283computedStyleMapfunction computedStyleMap() { [native code] }
284getAnimationsfunction getAnimations() { [native code] }
285getAttributefunction getAttribute() { [native code] }
286getAttributeNSfunction getAttributeNS() { [native code] }
287getAttributeNamesfunction getAttributeNames() { [native code] }
288getAttributeNodefunction getAttributeNode() { [native code] }
289getAttributeNodeNSfunction getAttributeNodeNS() { [native code] }
290getBoundingClientRectfunction getBoundingClientRect() { [native code] }
291getClientRectsfunction getClientRects() { [native code] }
292getElementsByClassNamefunction getElementsByClassName() { [native code] }
293getElementsByTagNamefunction getElementsByTagName() { [native code] }
294getElementsByTagNameNSfunction getElementsByTagNameNS() { [native code] }
295getHTMLfunction getHTML() { [native code] }
296hasAttributefunction hasAttribute() { [native code] }
297hasAttributeNSfunction hasAttributeNS() { [native code] }
298hasAttributesfunction hasAttributes() { [native code] }
299hasPointerCapturefunction hasPointerCapture() { [native code] }
300insertAdjacentElementfunction insertAdjacentElement() { [native code] }
301insertAdjacentHTMLfunction insertAdjacentHTML() { [native code] }
302insertAdjacentTextfunction insertAdjacentText() { [native code] }
303matchesfunction matches() { [native code] }
304prependfunction prepend() { [native code] }
305querySelectorfunction querySelector() { [native code] }
306querySelectorAllfunction querySelectorAll() { [native code] }
307releasePointerCapturefunction releasePointerCapture() { [native code] }
308removefunction remove() { [native code] }
309removeAttributefunction removeAttribute() { [native code] }
310removeAttributeNSfunction removeAttributeNS() { [native code] }
311removeAttributeNodefunction removeAttributeNode() { [native code] }
312replaceChildrenfunction replaceChildren() { [native code] }
313replaceWithfunction replaceWith() { [native code] }
314requestFullscreenfunction requestFullscreen() { [native code] }
315requestPointerLockfunction requestPointerLock() { [native code] }
316scrollfunction scroll() { [native code] }
317scrollByfunction scrollBy() { [native code] }
318scrollIntoViewfunction scrollIntoView() { [native code] }
319scrollIntoViewIfNeededfunction scrollIntoViewIfNeeded() { [native code] }
320scrollTofunction scrollTo() { [native code] }
321setAttributefunction setAttribute() { [native code] }
322setAttributeNSfunction setAttributeNS() { [native code] }
323setAttributeNodefunction setAttributeNode() { [native code] }
324setAttributeNodeNSfunction setAttributeNodeNS() { [native code] }
325setHTMLUnsafefunction setHTMLUnsafe() { [native code] }
326setPointerCapturefunction setPointerCapture() { [native code] }
327toggleAttributefunction toggleAttribute() { [native code] }
328webkitMatchesSelectorfunction webkitMatchesSelector() { [native code] }
329webkitRequestFullScreenfunction webkitRequestFullScreen() { [native code] }
330webkitRequestFullscreenfunction webkitRequestFullscreen() { [native code] }
331currentCSSZoom1
332ariaColIndexTextnull
333ariaRowIndexTextnull
334getInnerHTMLfunction getInnerHTML() { [native code] }
335nodeType1
336nodeNameINPUT
337baseURIhttp://www.openspc2.org/JavaScript/ref/form/sample/button.htm
338isConnectedtrue
339ownerDocument[object HTMLDocument]
340parentNode[object HTMLFormElement]
341parentElement[object HTMLFormElement]
342childNodes[object NodeList]
343firstChildnull
344lastChildnull
345previousSibling[object Text]
346nextSibling[object Text]
347nodeValuenull
348textContent
349ELEMENT_NODE1
350ATTRIBUTE_NODE2
351TEXT_NODE3
352CDATA_SECTION_NODE4
353ENTITY_REFERENCE_NODE5
354ENTITY_NODE6
355PROCESSING_INSTRUCTION_NODE7
356COMMENT_NODE8
357DOCUMENT_NODE9
358DOCUMENT_TYPE_NODE10
359DOCUMENT_FRAGMENT_NODE11
360NOTATION_NODE12
361DOCUMENT_POSITION_DISCONNECTED1
362DOCUMENT_POSITION_PRECEDING2
363DOCUMENT_POSITION_FOLLOWING4
364DOCUMENT_POSITION_CONTAINS8
365DOCUMENT_POSITION_CONTAINED_BY16
366DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC32
367appendChildfunction appendChild() { [native code] }
368cloneNodefunction cloneNode() { [native code] }
369compareDocumentPositionfunction compareDocumentPosition() { [native code] }
370containsfunction contains() { [native code] }
371getRootNodefunction getRootNode() { [native code] }
372hasChildNodesfunction hasChildNodes() { [native code] }
373insertBeforefunction insertBefore() { [native code] }
374isDefaultNamespacefunction isDefaultNamespace() { [native code] }
375isEqualNodefunction isEqualNode() { [native code] }
376isSameNodefunction isSameNode() { [native code] }
377lookupNamespaceURIfunction lookupNamespaceURI() { [native code] }
378lookupPrefixfunction lookupPrefix() { [native code] }
379normalizefunction normalize() { [native code] }
380removeChildfunction removeChild() { [native code] }
381replaceChildfunction replaceChild() { [native code] }
382addEventListenerfunction addEventListener() { [native code] }
383dispatchEventfunction dispatchEvent() { [native code] }
384removeEventListenerfunction removeEventListener() { [native code] }


スクリプト

<HTML>
<HEAD>
<TITLE>Sample</TITLE>
</HEAD>
<BODY bgColor="white">
<CENTER>
<H1>ボタンオブジェクト</H1>
</CENTER>
<FORM NAME="myFORM">
<INPUT TYPE="button" NAME="myButton" VALUE="ボタン">
</FORM>
<TABLE BORDER="1" width="320">
<SCRIPT Language="JavaScript">
<!--
cnt = 0;
for( i in document.myFORM.myButton )
{
document.write("<TR><TD>",cnt++,"</TD><TD>",i,"</TD><TD>",document.myFORM.myButton[i],"</TD></TR>");
}
// -->
</SCRIPT>
</TABLE>
</BODY></HTML>