Edgewater Greyts

Javascript stuff

Basic Examples

Document Object
  Properties   Methods
bgColor (changes bgcolor) write (writes something)
lastModified (gives date of document's last change) writeln (writes in new line)
referrer (gives URL of the page that linked here)  
fgColor (changes foreground color (text))  








Interactive boxes

Complete list of event handlers in JavaScript

  Event Handlers     Can be used with these tags:
onAbort
onBlur
onClick

.
onChange
onError
onFocus
onLoad
onMouseover
onMouseout
onReset
onSelect
onSubmit
onUnload
images
windows, all form elements, frames
buttons, radio buttons,
checkboxes, submit buttons,
reset buttons, links
text fields, textareas, select lists
windows, images
windows, frames, and all form elements
body, images
areas, links
links
forms
text fields, textareas
submit button
body


The Image object
properties methods
src onLoad
height,width onError
lowsrc onAbort
border  
vspace,hspace  




The String object
properties Methods
length
anchor
big
blink
bold
fixed
fontcolor
italics
small
strike
sub
sup
charAt
indexOf, lastIndexOf
link
split
substring
toLowerCase
toUpperCase

^Top of page
« Previous page