onMouseUp (Event handler)

Triggered when the mouse button is released.

Availability:

HTML version - 4.0
JavaScript - 1.2
JScript - 3.0
Internet Explorer - 4.0
Netscape - 4.0
Opera browser - 3.0
Property/method value type:Boolean primitive
JavaScript syntax:-myObject.onmouseup = aHandler
HTML syntax:<A onMouseUp="..."> <AREA onMouseUp="..."> <BODY onMouseUp="..."> <HTMLTag onMouseUp="..."> <IMG onMouseUp="..."> <INPUT onMouseUp="...">
Argument list:aHandlerA reference to a function object to handle the event

As the mouse button is released, this event is triggered. If you return the value true, the event will be passed to the browser for further processing. Returning false inhibits this action and discards the message.

Netscape indicates which mouse button was pressed in the which property of the Event object that is passed as an argument to the event handler function. MSIE makes the value available in the button property of the Event object referenced by the window.event property.

DOM level 2 classifies this as a MouseEvent and specifies that it uses bubbling propagation and can be canceled.

Warnings:

See also:Element object, Event, Event handler, Event model, Event names, Event object, Event.button, Event.returnValue, Event.which, Handler, JellyScript, Mouse events, MouseEvent object, onClick, onDblClick, onMouseDown, onReset, onSelect, onSubmit, Semantic event

Supported by objects:

A

ACRONYM

ADDRESS

Anchor

APPLET

AREA

B

BIG

BLOCKQUOTE

BODY

BUTTON

CAPTION

CENTER

Checkbox

CITE

CODE

DD

DEL

DFN

DIR

DIV

DL

Document

DT

EM

FIELDSET

FileUpload

FONT

FORM

H1

HR

I

IMG

Input

INS

KBD

LABEL

Layer

LEGEND

LI

LISTING

MAP

MARQUEE

MENU

OL

P

Password

PLAINTEXT

PRE

Q

RadioButton

ResetButton

S

SAMP

Select

SMALL

SPAN

STRIKE

STRONG

SUB

SubmitButton

SUP

TABLE

TBODY

TD

TEXTAREA

TextCell

TFOOT

TH

THEAD

TR

TT

U

UL

Url

VAR