markup_js_6.html

JS Definitions

Last | Next



Key Terms

event handler
Javascript expression tied to HTML element is triggered upon a user action.

method
A subroutine.

property
An object's field.



Definitions

alert() method
Message in popup.

blur() method
Removes keyboard focus from item.

click() method
As if button got clicked but onclick is never triggered.

close() method
Closes output.

confirm() method
Popup where ok = true and cancel = false.

document.cookie

focus() method
Keyboard focus goes to item.

onabort="x()" eh
User stops image from loading.

onblur="x()" eh
Run when it loses focus.

onchange() eh
Called when it loses focus after a change.

onclick="x()" eh
Run only when user clicks it.

ondblclick() eh
Called on second click.

ondragdrop() eh
File dragged into window.

onerror="x()" eh
When image doesn't load.

onerror() eh

onfocus() eh
Called when item gains focus.

onkeydown() eh
Called when user presses key.

onkeypress() eh
Called when user holds key down.

onkeyup() eh
Releases key.

onload="x()" eh
When image finishes loading.

onmouseout() eh
When mouse leaves.

onmouseover() eh
When mouse moves into.

onreset() eh
Called when user presses reset or set method called.

onsubmit() eh
Called when user presses submit button.

onunload() eh
User leaves page.

open() method
Create new document.

parseFloat

parseInt

reload()
Document reloads in window.

reset() method
Same as user pressing reset.

select() method
Selects element's text so user can replace it.

split
nn

String.indexof

String.lastindexof

String.substring

submit() method
Submits form but doesn't call on submit.






www.trialwebsite.biz(c) 2004