на Keyup jQuery
$(":input").on("keyup change", function(e) {
// do stuff!
})
Indian Gooner
$(":input").on("keyup change", function(e) {
// do stuff!
})
$("input").trigger("click");
$( "#foo" ).on( "click", function() {
alert( $( this ).text() );
});
$( "#foo" ).trigger( "click" );
$( "#foo" ).on( "custom", function( event, param1, param2 ) {
alert( param1 + "\n" + param2 );
});
$( "#foo").trigger( "custom", [ "Custom", "Event" ] );
$(function() {
$('item').keydown();
$('item').keypress();
$('item').keyup();
$('item').blur();
});
$(function() {
$('textarea').keyup(checkSpeed); //when keyup in textarea then checkSpeed function called
});
function checkSpeed() {}
$("body").trigger({type:"keyup",key:"a"})