Usually objects belong to a class, they are certain instances of a
class. Objects have properties and methods. Methods change the
properties of the objects.
Object window
Methods:
alert(String)
confirm(String)
close()
open(URL,Window name, attribute)
prompt(String,String)
resizeTo(x,y)
Properties:
innerHeight
innerWidth
Object document
Methods:
open(type) like window.document.open("text/html")
write(text)
writeln(text)
Properties:
title
url
fgcolor
Object Form
Methods:
select()
Properties:
checked
defaultValue
Object Date
Methods:
getDate()
getDay()
getHours()
getMinutes()
toString()
valueOf()
Object Math
Methods:
abs(number)
log(number)
round(number)
pow(x,y)
exp(number)
max(x,y)
random()
sqrt(number)
Object String
Methods:
big()
bold()
charAt(position)
fontColor(color) like var txt="hallo";
txt.fontcolor("D5777C");