JS for in Output Window object all properties

Source: Internet
Author: User

JS for in Output Window object all properties
<title>window Object Properties Array</title>
<body>
<script>
for (var i in window) {
document.write ("Window property (+ i +"): "+
Window[i] + "<br>");

}
</script>
</body>

Output results

(onbeforeunload): null
Window Property (onafterprint): null
Window Property (top): [Object]
Window Property (location): http://www.111cn.net
Window Property (parent): [Object]
Window Property (offscreenbuffering): Auto
Window Property (frameelement): null
Window Property (onerror): null
Window Property (screen): [Object]
Window Property (event): null
Window Property (clipboarddata): [Object]
Window Property (onresize): null
Window Property (defaultstatus):
Window Property (onblur): null
Window Property (window): [Object]
Window Property (onload): null
Window Property (onscroll): null
Window Property (screentop): 127
Window Property (onfocus): null
Window property (option): [Object]
Window property (length): 0
Window Property (onbeforeprint): null
Window Property (frames): [Object]
Window property (self): [Object]
Window Property (clientinformation):
Window property (external): Undefined
Window Property (screenleft):-2
Window Property (opener): [Object]
Window Property (onunload): null
Window Property (document): [Object]
Window property (closed): false
Window property (History): [Object]
Window Property (image): [Object]
Window Property (Navigator):
Window Property (status):
Window Property (onhelp): null
Window property (name):

Browser events
<form name= "Aform" >
<input type= "button" Name= "Big_button" "value=" "big button" onclick= "alert (' The" "" The big button is pressed! ') "; >
</form>
<script language= ' web Effects ' >
<!--
var Aproperty;
For (Aproperty in Document.aform.big_button) {
document.write (Aproperty, "<br>");
}
-->
</script>

Language
ScrollHeight
isTextEdit
Currentstyle
Document
OnMouseUp
OnContextMenu
Ismultiline
ClientHeight
onrowexit
Onbeforepaste
OnActivate
ScrollLeft
Lang
OnMouseMove
OnMove
Onselectstart
parentTextEdit
Oncontrolselect
Canhavehtml
onkeypress
Oncut
onrowenter
OnMouseDown
Onpaste
ClassName
Id
onReadyStateChange
Onbeforedeactivate
Hidefocus
Dir
Iscontenteditable
OnKeyDown
ClientWidth
Onlosecapture
Parentelement
Ondrag
Ondragstart
Oncellchange
RecordNumber
Onfilterchange
onrowsinserted
ondatasetcomplete
OnMouseWheel
OnDragEnter
Onblur
Onresizeend
onerrorupdate
Onbeforecopy
OnDblClick
ScopeName
OnKeyUp
Onresizestart
Onmouseo Tutorial ver
OnMouseLeave
Outertext
InnerText
Onmoveend
TagName
Title
Offsetwidth
OnResize
Contenteditable
Runtimestyle
Filters
OnDrop
OnPage
Onrowsdelete
Tagurn
Offsetleft
ClientTop
Style
Onfocusout
ClientLeft
ondatasetchanged
Canhavechildren
OnDeactivate
Isdisabled
Onpropertychange
OnDragOver
OnHelp
Ondragend
Onbeforeeditfocus
Disabled
onfocus
Behaviorurns
AccessKey
Onscroll
Onbeforeactivate
Onbeforecut
ReadyState
All
Sourceindex
OnClick
ScrollTop
Oncopy
Onfocusin
TabIndex
onbeforeupdate
outerHTML
innerHTML
ondataavailable
Offsetheight
Onmovestart
onmouseout
ScrollWidth
offsettop
Onmouseenter
Onlayoutcomplete
offsetparent
onafterupdate
OnDragLeave
Children
Start
ReadOnly
FirstChild
Type
Height
Alt
Form
OnError
Hspace
MaxLength
Loop
Onselect
LastChild
NodeName
NodeType
Width
Dynsrc
Attributes
ChildNodes
Src
Datafld
PreviousSibling
Ownerdocument
ParentNode
Checked
Onabort
Accept
NodeValue
OnChange
dataFormatAs
Defaultchecked
Vrml
Datasrc
Indeterminate
OnLoad
Align
Usemap
Lowsrc
Complete
NextSibling
Vspace
Size
Value
Border
Status
Name
;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.