Link.onMouseUp

JavaScript 1.2+, JScript 1.0+ Nav4+, IE 3+ Syntax

onMouseUp="command"

Description

The onMouseUp event handler for the Link object is used to handle the event when the mouse button is pressed on the link and then released.

Example

Listing 7.372 shows how the onMouseUp event handler is used.

Listing 7.372 Example of the onMouseUp Event Handler
 <html> <head> <title> Using the onMouseUp event handler of the Link object</title> </head> <body> Click the mouse button while the cursor is on the link. <form name="form1"> <a href=http://www.mcp.com:80/foo?something#foobar onMouseUp='alert("The Mouse button was let up")'> http://www.mcp.com:80/foo?something#foobar</a> <br><br> <input type="text" name="text1" size=50> </form> </body> ...

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.