Quick Reference to JavaScript Objects

This page provides an alphabetized list for JavaScript's:

  • built-in objects
  • browser-specific objects
  • object's properties
  • object's methods
JavaScript Object JavaScript Properties JavaScript Methods
anchor name  
  text  
  x  
  y  
area hash  
  host  
  hostname  
  href  
  pathname  
  port  
  protocol  
  search  
  target  
array constructor concat()
  index join()
  input pop()
  length push()
  prototype reverse()
    shift()
    slice()
    splice()
    sort()
    toSource()
    toString()
    unshift()
    valueOf()
Boolean constructor toSource()
  prototype toString()
    valueOf()
button form blur()
  name click()
  type focus()
  value handleEvent()
checkbox checked blur()
  defaultChecked click()
  form focus()
  name handleEvent()
  type  
  value  
date constructor getDate()
  prototype getDay()
    getFullYear()
    getHours()
    getMilliseconds()
    getMinutes()
    getMohth()
    getSeconds()
    getTime()
    getTimezoneOffset()
    getUTCDate()
    getUTCDay()
    getUTCFullYear()
    getUTCHours()
    getUTCMillisseconds()
    getUTCMinutes()
    getUTCMonth()
    getUTCSeconds()
    getYear()
    parse()
    setDate()
    setFullYear()
    setHours()
    setMilliseconds()
    setMinutes()
    setMohth()
    setSeconds()
    setTime()
    setUTCDate()
    setUTCFullYear()
    setUTCHours()
    setUTCMillisseconds()
    setUTCMinutes()
    setUTCMonth()
    setUTCSeconds()
    setYear()
    toGMTString()
    toLocalString()
    toSource()
    toString()
    toUTCString()
    UTC()
    ValueOf()
document alinkColor captureEvents()
  anchors close()
  applets contextual()
  byColor getSelection()
  classes handleEvent()
  cookie open()
  domain releaseEvents()
  embeds routeEvent()
  fgColor write()
  formName writeln()
  forms  
  height  
  ids  
  images  
  lastModified  
  layers  
  linkColor  
  links  
  plugins  
  referrer  
  tags  
  title  
  URL  
  vlinkColor  
  width  
event data  
  height  
  layerX  
  layerY  
  modifiers  
  pageX  
  pageY  
  screenX  
  screenY  
  target  
  type  
  which  
  width  
  X  
  Y  
fileUpload form blur()
  name focus()
  type handleEvent()
  value select()
form action handleEvent()
  elements reset()
  encoding submit()
  length  
  method  
  name  
  target  
function arguments apply()
  arguments.callee call()
  arguments.caller toSource()
  arguments.length toString()
  arity valueOf()
  constructor  
  length  
  prototype  
hidden form  
  name  
  type  
  value  
history current back()
  length forward()
  next go()
  previous  
image border handleEvent()
  complete  
  height  
  hspace  
  lowsrc  
  name  
  src  
  vspace  
  width  
layer above captureEvents()
  background handleEvent()
  bgColor load()
  below moveAbove()
  clip.bottom moveBelow()
  clip.height moveBy()
  clip.left moveTo()
  clip.right moveToAbsolute()
  clip.top releaseEvents()
  clip.width resizeBy()
  document resizeTo()
  left routeEvent()
  name  
  pageX  
  pageY  
  parentLayer  
  siblingAbove  
  siblingBelow  
  src  
  top  
  visibility  
  window  
  x  
  y  
  zIndex  
link hash handleEvent()
  host  
  hostname  
  href  
  pathname  
  port  
  protocol  
  search  
  target  
  text  
  x  
  y  
location hash reload()
  host replace()
  hostname  
  href  
  pathname  
  port  
  protocol  
  search  
math E abs()
  LN10 acos()
  LN2 asin()
  LOG10E atan()
  LOG2E ceil()
  PI cos()
  SQRT1_2 exp()
  SQRT2 floor()
    Log()
    Max()
    Min()
    Pow()
    Random()
    Round()
    Sin()
    Sqrt()
    Tan()
mimeType description  
  enabledPlugin  
  suffixes  
  type  
navigator appCodeName javaEnabled()
  appName plugins.refresh()
  appVersion preference()
  language savePreferences()
  mimeTypes taintEnabled()
  platform  
  plugins  
  userAgent  
number constructor toSource()
  MAX_VALUE toString()
  MIN_VALUE valueOf()
  NaN  
  NEGATIVE_INFINITY  
  POSITIVE_INFINITY  
  prototype  
object constructor eval()
  prototype toSource()
    toString()
    unwatch()
    valueOf()
    watch()
option defaultSelected  
  index  
  length  
  selected  
  text  
  value  
password defaultValue blur()
  form focus()
  name handleEvent()
  type select()
  value  
plugin description  
  filename  
  length  
  name  
radio checked blur()
  defaultChecked click()
  form focus()
  name handleEvent()
  type  
  value  
regExp $1...$9 compile()
  $_ exec()
  $* test()
  $& toSource()
  $+ toString()
  $' valueOf()
  $'  
  constructor  
  global  
  ignoreCase  
  input  
  lastIndex  
  lastMatch  
  lastParen  
  leftContext  
  multline  
  prototype  
  rightContext  
  source  
reset form blur()
  name click()
  type focus()
  value handleEvent()
screen availHeight  
  availLeft  
  availTop  
  availWidth  
colorDepth height  
  pixelDepth  
  width  
select form blur()
  length focus()
  name handleEvent()
  options  
  selectedIndex  
  type  
string constructor anchor()
  length big()
  prototype blink()
    bold()
    charAt()
    charCodeAt()
    concat()
    fixed()
    fontcolor()
    fontsize()
    fromCharCode()
    indexOf()
    italics()
    lastIndexOf()
    link()
    match()
    replace()
    search()
    slice()
    small()
    split()
    strike()
    sub()
    substr()
    substring()
    sup()
    toLowerCase()
    toSource()
    toString()
    toUpperCase()
    valueOf()
style align borderWidths()
  backgroundColor margins()
  backgroundImage paddings()
  borderBottomWidth  
  borderColor  
  borderLeftWidth  
  borderRightWidth  
  borderStyle  
  borderTopWidth  
  clear  
  color  
  display  
  fontFamily  
  fontSize  
  fontStyle  
  fontWeight  
  lineHeight  
  listStyleType  
  marginBottom  
  marginLeft  
  marginRight  
  marginTop  
  paddingBottom  
  paddingLeft  
  PaddingRight  
  paddingTop  
  textAlign  
  textDecoration  
  textIndent  
  textTransform  
  whiteSpace  
  width  
submit form blur()
  name click()
  type focus()
  value handleEvent()
text defaultValue blur()
  form focus()
  name  
  type  
  value  
textarea defaultValue blur()
  form focus()
  name handleEvent()
  type select()
  value  
window closed alert()
  crypto atob()
  defaultStatus back()
  document blur()
  frames btoa()
  history captureEvents()
  innerHeight clearInterval()
  innerWidth clearTimeout()
  length close()
  location confirm()
  locationbar crypto.random()
  menubar crypto.signText()
  name disableExternalCapture()
  offscreenBuffering find()
  opener focus()
  outerHeight forward()
  outerWidth handleEvent()
  pageXOffset home()
  pageYOffset moveBy()
  parent moveTo()
  personalbar open()
  screenX print()
  screenY prompt()
  scrollbars releaseEvents()
  self resizeBy()
  status resizeTo()
  statusbar routeEvent()
  toolbar scroll()
  top scrollBy()
  window scrollTo()
    setHotKeys()
    setInterval()
    setResizable()
    setTimeout()
    setZOptions()
    stop()