mouse
English [maʊs] American [maʊs]
n. Mouse; mouse; shy [timid] person; [informal term] eye bruises on the head
vi.catching mice; spying, searching secretly
##up
英[ʌp] 美[ʌp] adv. Above, at a high place; get up, get up; upward; from low to highadj. Upward; rising; upright, vertical; lifted vt.& vi.increase;accelerate;raise;lift, pick upprep.at the upper end of…;towards heights;to go along…toward…upstreamn.to rise , rise; thrive, prosper; go uphill; (prices, etc.) rise
jquery mouseup() method syntax
Function:When the mouse button is released on an element, the mouseup event occurs. Unlike the click event, the mouseup event only requires the button to be released. This event is fired when the mouse button is released when the mouse pointer is over the element. The mouseup() method triggers a mouseup event, or specifies a function to run when a mouseup event occurs.
Trigger the mouseup event syntax: $(selector).mouseup()
Bind the function to the mouseup event syntax: $ (selector).mouseup(function)
Parameters:
Parameters | Description |
function | Optional. Specifies a function to run when a mouseup event occurs. |
jquery mouseup() method example
<html> <head> <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("button").mouseup(function(){ $("p").slideToggle(); }); }); </script> </head> <body> <p>这是一个段落。</p> <button>切换</button> </body> </html>
Click the "Run instance" button to view the online instance