jQuery One

by Kyle Mitofsky

HTML

<input value='Hey There!' />
<input value='Tab or Click!' />



















<!-- Post Info -->
<div style='position:fixed;bottom:0;left:0;    
            background:lightgray;width:100%;'>
    About this SO Question: <a href='http://stackoverflow.com/q/24589084/1366033'>jQuery's One - Fire once with multiple event types</a><br/>         
<div>

JavaScript

$('input').one('mouseup keyup', function(e){ 
    console.log(e.type);
});