0% found this document useful (0 votes)
48 views2 pages

JavaScript Object Guide for Navigator 3.0

This document provides a summary of the JavaScript objects available in Navigator 3.0, organized into HTML-generated objects from the window, document, form, and frame objects, as well as non-HTML objects like String, Math, Date, Array, and Function. It lists the properties and methods of each object. The summary is intended to serve as a roadmap for JavaScript developers to understand the capabilities and structure of core JavaScript objects.

Uploaded by

nnoop
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views2 pages

JavaScript Object Guide for Navigator 3.0

This document provides a summary of the JavaScript objects available in Navigator 3.0, organized into HTML-generated objects from the window, document, form, and frame objects, as well as non-HTML objects like String, Math, Date, Array, and Function. It lists the properties and methods of each object. The summary is intended to serve as a roadmap for JavaScript developers to understand the capabilities and structure of core JavaScript objects.

Uploaded by

nnoop
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Danny Goodman's JavaScript Handbook Object Road Map (Navigator 3.

0 Edition)
HTML-Generated JavaScript Objects
window
frames[i]
parent
self
top
status
defaultStatus
name
window
opener*
onerror*

document

blur()*
onLoad=
focus()*
onUnload=
scroll(x,y)*
onBlur=*
alert("msg")
onFocus=*
confirm("msg")
prompt("msg","reply")
open(URL,"name","specs")
close()
setTimeOut("exp",ms)
clearTimeOut(ID)

history
length
current***
next***
previous***

back()
forward()
go(int | "URL")

(None)

alinkColor
anchors[i]
applets[i]*
bgColor
cookie
domain*
embeds[i]*
fgColor
forms[i]
images[i]*
lastModified
linkColor
links[i]
location**
referrer
title
URL*
vlinkColor

reload()*
replace(URL)*

clear()
(None)
close()
open("mimetype")
write("string")
writeln("string")

action
elements[i]
encoding
method
name
target

reset()*
submit()

text, textarea, password

target

(None)

onClick=
onMouseOut=*
onMouseOver=

checked
defaultChecked
length
name
type*
value

(None)

(None)

(None)

(Java vars)

(Java methods)

applet*
area*

(None)

image*
onMouseOut=
onMouseOver=

border
complete
height
hspace
lowsrc
name
src
vspace
width

(None)

onAbort=
onError=
onLoad=

name
value

click()

onClick=

name
type*
value

click()

onClick=

checkbox
checked
defaultChecked
name
type*
value

click()

onClick=

select

fileUpload*
*New in Navigator 3.0
**Do not use. To be deleted in a future release
***Only with data tainting enabled

onBlur=
onChange=
onFocus=
onSelect=

button, reset, submit

anchor

(None)

focus()
blur()
select()

radio

(None)

hash
host
hostname
href
pathname
port
protocol
search
target

onReset=*
onSubmit=

defaultValue
name
type*
value

link

location
hash
host
hostname
href
pathname
port
protocol
search

form

blur()
focus()
select()

onBlur=
onFocus=
onSelect=

length
blur()*
name
focus()*
options[i]
selectedIndex
options[i].defaultSelected
options[i].index
options[i].selected
options[i].text
options[i].value
type*

onBlur=
onChange=
onFocus=

1996 Danny Goodman. All Rights Reserved.

fold here

Non-HTML JavaScript Objects


string

Math
E
LN2
LN10
LOG2E
LOG10E
PI
SQRT1_2
SQRT2

abs(val)
acos(val)
asin(val)
atan(val)
atan2(val1, val2)
ceil(val)
cos(val)
exp(val)
floor(val)
log(val)
max(val1, val2)
min(val1, val2)
pow(val1, power)
random()
round(val)
sin(val)
sqrt(val)
tan(val)

length
prototype*

Date
prototype*

get/setDate()
get/setDay()
get/setHours()
get/setMinutes()
get/setMonth()
get/setSeconds()
get/setTime()
get/setYear()
getTimezoneOffset()
parse("dateString")
toGMTString()
toLocaleString()
toString()
UTC(date vals)

anchor("anchor")
big()
blink()
bold()
charAt(index)
fixed()
fontcolor(#rrggbb)
fontsize(1to7)
indexOf("str" [,i])
italics()
lastIndexOf("str" [,i])
link(URL)
small()
split(char)*
strike()
sub()
substring(intA, intB)
sup()
toLowerCase()
toUpperCase()

JavaScript Object
Road Map
(Navigator 3.0 Edition)
25 August 1996

Array*
length
prototype*

join("char")
reverse()
sort(compareFunc)

A special service to readers of

Danny Goodman's JavaScript Handbook

Function*

ISBN 0-7645-3003-8

caller
(None)
arguments[]
prototype

navigator
appName
javaEnabled()*
appVersion
taintEnabled()*
appCodeName
mimeTypes[i]*
plugins[i]*
userAgent

*New in Navigator 3.0

For continued updates about JavaScript in


Netscape Navigator 3.0,
visit the JavaScript Handbook Support Center at
http://www.dannyg.com

plugin*
(None)

description
filename
length
name

refresh()

(None)
fold here

mimeType*
description
(None)
enabledPlugin
type
suffixes

(None)

1996 Danny Goodman. All Rights Reserved.

You might also like