Run »
<html> <head> </head> <body> <p onmousedown="myFunction(this,'red')" onmouseup="myFunction(this,'green')"> Click the text to change the color. A function, with parameters, is triggered when the mouse button is pressed down, and again, with other parameters, when the mouse button is released. </p> </body> </html>
×
Report a Problem:
Your E-mail:
Page address:
Description:
Submit