keyup([[data],fn])
Outline
When the button is released, keyup events. It happened on the element currently has the focus.
Note: If set on the document element, regardless of whether the element has the focus, the event will occur. Linear motor selection
parameter
fnFunctionV1.0
A function to bind in keyup event of each matched element.
[data],fnString,FunctionV1.4.3
data : keyUp ([the Data], fn) can be passed for the data processing function fn.
the Fn : function to bind in keyup event of each matched element.
Examples
description:
When the button is pressed, changing the color of the text field:
jQuery code:
$("input").keyup(function(){
$("input").css("background-color","#D6D6FF");
});