The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Fires when the user releases a mouse button while the mouse is over the object.
![]() |
Syntax
| HTML Attribute | <element onmouseup = "handler(event)"> |
|---|---|
| Event Property | object.onmouseup = handler; |
| attachEvent Method | object.attachEvent("onmouseup", handler) |
| addEventListener Method | object.addEventListener("mouseup", handler, useCapture) |
Event information
| Synchronous | No |
|---|---|
| Bubbles | No |
| Cancelable | No |
Event handler parameters
- pEvtObj [in]
-
Type: IHTMLEventObj
Standards information
- HTML 4.01 Specification, Section 18.2.3
Remarks
Use the button property to determine which mouse button is pressed.
Initiates any action associated with this event.
To invoke this event, do one of the following:
- Press and release a mouse button.
See also
- a
- abbr
- acronym
- address
- applet
- area
- audio
- b
- bdo
- big
- blockQuote
- body
- button
- canvas
- caption
- center
- cite
- code
- custom
- dd
- del
- dfn
- dir
- div
- dl
- document
- dt
- em
- embed
- fieldSet
- font
- form
- hn
- hr
- i
- img
- input type=button
- input type=checkbox
- input type=file
- input type=image
- input type=password
- input type=radio
- input type=reset
- input type=submit
- input type=text
- ins
- kbd
- label
- legend
- li
- listing
- map
- marquee
- menu
- noBR
- object
- ol
- p
- plainText
- pre
- q
- rt
- ruby
- s
- samp
- select
- small
- source
- span
- strike
- strong
- sub
- sup
- table
- tBody
- td
- textArea
- tFoot
- th
- tHead
- tr
- tt
- u
- ul
- var
- video
- window
- xmp
- SVGSVGElement
- Reference
- onmousewheel
- onclick
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmspointerup
Send comments about this topic to Microsoft
Build date: 1/23/2013
